Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 105.3 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.182/3.182, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 69.33 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3507, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002446/0.3532, allocations: 1.035 MB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3552, allocations: 1.459 MB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.3553, allocations: 8 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3554, allocations: 23.67 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.3555, allocations: 47.58 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3566, allocations: 465.4 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.3572, allocations: 0.5114 MB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.3575, allocations: 111.6 kB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.3577, allocations: 199.6 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.358, allocations: 191.4 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.3581, allocations: 51.94 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3582, allocations: 63.98 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.3583, allocations: 75.75 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.3585, allocations: 191.2 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.3592, allocations: 0.5139 MB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3592, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3592, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3592, allocations: 0 / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000993/0.3602, allocations: 0.6965 MB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3602, allocations: 8.922 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.3603, allocations: 58.67 kB / 1.31 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.3604, allocations: 40.75 kB / 1.31 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009294/0.3613, allocations: 364.2 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.3614, allocations: 28.73 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.3614, allocations: 28.38 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.3618, allocations: 236.9 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3618, allocations: 0 / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3619, allocations: 12 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3619, allocations: 4 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.3621, allocations: 147.3 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3635, allocations: 0.7538 MB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.3638, allocations: 178.4 kB / 1.311 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.364, allocations: 198.1 kB / 1.311 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3641, allocations: 4 kB / 1.311 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.3644, allocations: 245.8 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/0.3644, allocations: 0 / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.0007674/0.3652, allocations: 432.9 kB / 1.312 GB, free: 8.973 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.3653, allocations: 106.8 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3656, allocations: 290.5 kB / 1.312 GB, free: 8.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.3657, allocations: 41.7 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3658, allocations: 152.8 kB / 1.313 GB, free: 8.348 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.3659, allocations: 63.58 kB / 1.313 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.3661, allocations: 145.6 kB / 1.313 GB, free: 8.137 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3664, allocations: 342.7 kB / 1.313 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.3667, allocations: 204.7 kB / 1.313 GB, free: 7.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.3672, allocations: 315.9 kB / 1.314 GB, free: 7.234 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.3679, allocations: 0.5311 MB / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3679, allocations: 0 / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001187/0.3691, allocations: 0.7327 MB / 1.315 GB, free: 5.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.3692, allocations: 126.7 kB / 1.315 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3692, allocations: 7.938 kB / 1.315 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3692, allocations: 4 kB / 1.315 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3693, allocations: 23.92 kB / 1.315 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3693, allocations: 4 kB / 1.315 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/0.37, allocations: 140 kB / 1.315 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.3701, allocations: 71.8 kB / 1.315 GB, free: 5.477 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002526/0.3704, allocations: 181.8 kB / 1.315 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3704, allocations: 31.8 kB / 1.315 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.371, allocations: 360.2 kB / 1.316 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.371, allocations: 4 kB / 1.316 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.371, allocations: 0 / 1.316 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.371, allocations: 3.984 kB / 1.316 GB, free: 4.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.372, allocations: 0.7095 MB / 1.317 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.372, allocations: 0 / 1.317 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.3721, allocations: 23.92 kB / 1.317 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3721, allocations: 0 / 1.317 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.3721, allocations: 19.86 kB / 1.317 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3721, allocations: 4 kB / 1.317 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3721, allocations: 0 / 1.317 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.3726, allocations: 413.1 kB / 1.317 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-05/0.3727, allocations: 104.9 kB / 1.317 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.3727, allocations: 11.94 kB / 1.317 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3728, allocations: 11.98 kB / 1.317 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.3729, allocations: 19.97 kB / 1.317 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3729, allocations: 12 kB / 1.317 GB, free: 3.488 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002132/0.3731, allocations: 194 kB / 1.317 GB, free: 3.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3731, allocations: 0 / 1.317 GB, free: 3.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004447/0.3736, allocations: 91.94 kB / 1.317 GB, free: 3.211 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000965/0.3745, allocations: 0.9744 MB / 1.318 GB, free: 2.211 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.3755, allocations: 0.6032 MB / 1.319 GB, free: 1.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3755, allocations: 0 / 1.319 GB, free: 1.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3757, allocations: 119.9 kB / 1.319 GB, free: 1.441 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3761, allocations: 69.28 kB / 1.319 GB, free: 1.371 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.3815, allocations: 3.616 MB / 1.323 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.3821, allocations: 0.7688 MB / 1.323 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.3823, allocations: 62.92 kB / 1.323 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3825, allocations: 99.41 kB / 1.324 GB, free: 12.62 MB / 1.029 GB Notification: Performance of SimCode: time 1.353e-06/0.3825, allocations: 0 / 1.324 GB, free: 12.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.4171, allocations: 7.863 MB / 1.331 GB, free: 4.961 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.902, allocations: 14.58 kB / 1.331 GB, free: 4.949 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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: 15.640696130227298]