Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001509/0.001509, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001875/0.001875, allocations: 219.1 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.23 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3561, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002144/0.3583, allocations: 0.7182 MB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.3605, allocations: 1.287 MB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.3606, allocations: 4 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3608, allocations: 7.875 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.3609, allocations: 19.86 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.362, allocations: 241.6 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.3625, allocations: 251.5 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3627, allocations: 27.97 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.3629, allocations: 115.7 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3631, allocations: 83.77 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.3631, allocations: 20 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3632, allocations: 35.98 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.3633, allocations: 35.91 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3634, allocations: 91.64 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.3638, allocations: 239.1 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3638, allocations: 0 / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3638, allocations: 0 / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3638, allocations: 0 / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007065/0.3645, allocations: 437 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3645, allocations: 12.03 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.601e-05/0.3646, allocations: 42.73 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.365, allocations: 56.8 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3655, allocations: 198.4 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3655, allocations: 12.38 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.3656, allocations: 16.38 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.3658, allocations: 134.9 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3658, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3658, allocations: 8 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3658, allocations: 4 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.3659, allocations: 47.91 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.3667, allocations: 0.629 MB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.3667, allocations: 49.08 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.3668, allocations: 17.84 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.3668, allocations: 3.938 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.367, allocations: 89.09 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.367, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002572/0.3672, allocations: 105.5 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.3673, allocations: 81.11 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3675, allocations: 182 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3675, allocations: 29.7 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3676, allocations: 124.5 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3677, allocations: 11.89 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3678, allocations: 65.67 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3679, allocations: 322.8 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.368, allocations: 51.97 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3682, allocations: 119.5 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3684, allocations: 178.5 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3684, allocations: 0 / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004634/0.3689, allocations: 280.7 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.3689, allocations: 67.39 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.369, allocations: 4 kB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.369, allocations: 0 / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.369, allocations: 4 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.369, allocations: 4 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3693, allocations: 56.14 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.3694, allocations: 19.92 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001503/0.3695, allocations: 147.4 kB / 1.359 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3695, allocations: 11.89 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.3696, allocations: 8.344 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3696, allocations: 0 / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3696, allocations: 4 kB / 1.359 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.3696, allocations: 7.984 kB / 1.359 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3698, allocations: 180.6 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3698, allocations: 0 / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.3698, allocations: 7.984 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3698, allocations: 0 / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3698, allocations: 0 / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3698, allocations: 4 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3698, allocations: 0 / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.37, allocations: 125.8 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.37, allocations: 11.91 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.37, allocations: 0 / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.37, allocations: 4 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3701, allocations: 3.984 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3701, allocations: 8 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.3702, allocations: 116.1 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3702, allocations: 0 / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002709/0.3704, allocations: 39.95 kB / 1.36 GB, free: 0.7617 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004919/0.3709, allocations: 0.6561 MB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.3713, allocations: 211.1 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3713, allocations: 4.062 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.3713, allocations: 15.92 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.3716, allocations: 28.02 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3739, allocations: 1.932 MB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3743, allocations: 0.7157 MB / 1.363 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.3744, allocations: 8.969 kB / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3744, allocations: 39.42 kB / 1.363 GB, free: 12.92 MB / 1.061 GB Notification: Performance of SimCode: time 5.62e-07/0.3744, allocations: 0 / 1.363 GB, free: 12.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.4054, allocations: 3.63 MB / 1.367 GB, free: 9.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 6 kB / 1.367 GB, free: 9.453 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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: 18.87539581907913]