Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.622e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001462/0.001489, allocations: 0.6141 MB / 0.9511 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002638, allocations: 1.132 MB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.002689, allocations: 0 / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.002783, allocations: 3.938 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.016e-05/0.002803, allocations: 11.94 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.003254, allocations: 126.1 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003392, allocations: 91.88 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.003481, allocations: 0 / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.003565, allocations: 55.88 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.00367, allocations: 23.97 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.00369, allocations: 11.94 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.00376, allocations: 19.98 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.003824, allocations: 19.92 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.003872, allocations: 23.97 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004022, allocations: 99.77 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.004025, allocations: 4 kB / 0.9527 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004027, allocations: 3.938 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004031, allocations: 0 / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003857/0.004417, allocations: 303.9 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.004453, allocations: 8.031 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.00448, allocations: 42.73 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.004523, allocations: 8.875 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004659, allocations: 117.8 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.004671, allocations: 8.375 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.004684, allocations: 4.375 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.004782, allocations: 58.17 kB / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004789, allocations: 192 / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.004798, allocations: 384 / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004805, allocations: 4.125 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.004834, allocations: 12 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.00511, allocations: 255.9 kB / 0.9535 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.005159, allocations: 30.45 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.005175, allocations: 12.92 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.005184, allocations: 7.984 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.005297, allocations: 59.41 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005298, allocations: 0 / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.005467, allocations: 69.56 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.005507, allocations: 51.41 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.00558, allocations: 105.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.005596, allocations: 33.7 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.005634, allocations: 88.09 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.005642, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.005684, allocations: 29.7 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.005763, allocations: 326.8 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.005826, allocations: 57.69 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.005888, allocations: 80.25 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.748e-05/0.005955, allocations: 76.22 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.005958, allocations: 7.875 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001711/0.006129, allocations: 180.9 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.006158, allocations: 33.7 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006163, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006177, allocations: 8.078 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.475e-05/0.006191, allocations: 4 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.006197, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.006343, allocations: 27.97 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.006358, allocations: 4 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.006432, allocations: 121.8 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.00644, allocations: 4.234 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.00646, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.006465, allocations: 7.984 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.006469, allocations: 4 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006473, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.814e-05/0.006551, allocations: 136.6 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006552, allocations: 3.938 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-06/0.006555, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006557, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.006563, allocations: 320 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.006566, allocations: 7.984 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.006569, allocations: 4 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.006644, allocations: 81.02 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.00665, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.00666, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-06/0.006669, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.006693, allocations: 7.984 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.006697, allocations: 4 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.006724, allocations: 79.28 kB / 0.9551 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006724, allocations: 0 / 0.9551 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001407/0.006865, allocations: 19.94 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000267/0.007132, allocations: 0.6318 MB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.007323, allocations: 141.1 kB / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.007325, allocations: 0 / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.007347, allocations: 12 kB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.007522, allocations: 14.58 kB / 0.9559 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.00869, allocations: 1.485 MB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.008747, allocations: 71.23 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.008771, allocations: 0 / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.008813, allocations: 20.48 kB / 0.9575 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/0.008814, allocations: 4.062 kB / 0.9575 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02506, allocations: 2.733 MB / 0.9602 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.704, allocations: 5.75 kB / 0.9602 GB, free: 9.207 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.64660910051316]