Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008253/0.008253, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 197.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 64.12 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8624, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001913/0.8643, allocations: 0.746 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.866, allocations: 1.256 MB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.8661, allocations: 4 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.8661, allocations: 15.86 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.8662, allocations: 15.8 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.867, allocations: 254.1 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.8673, allocations: 259.6 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.8674, allocations: 20.22 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.8676, allocations: 99.8 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.8677, allocations: 95.73 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.8678, allocations: 24 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.8679, allocations: 39.92 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.8679, allocations: 35.89 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.868, allocations: 91.73 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.8683, allocations: 217.7 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8683, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8683, allocations: 0 / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8683, allocations: 0 / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007143/0.869, allocations: 0.4946 MB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8691, allocations: 12.03 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.8691, allocations: 34.73 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.8692, allocations: 20.84 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.8698, allocations: 252.3 kB / 1.211 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.8698, allocations: 16.36 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.8699, allocations: 20.31 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.8701, allocations: 131.6 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8701, allocations: 0 / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8701, allocations: 4 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.8701, allocations: 0 / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.8703, allocations: 67.89 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.871, allocations: 0.5124 MB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.8713, allocations: 165.1 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.8714, allocations: 65.69 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.8714, allocations: 0 / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.8718, allocations: 223.7 kB / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.8718, allocations: 0 / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0005384/0.8723, allocations: 312.5 kB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.8724, allocations: 89.05 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.8725, allocations: 126.1 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.8725, allocations: 37.7 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.8726, allocations: 104.6 kB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.8727, allocations: 55.34 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.8728, allocations: 73.67 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8729, allocations: 322.8 kB / 1.213 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.8731, allocations: 88.23 kB / 1.213 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.8733, allocations: 160.7 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.8736, allocations: 251 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8736, allocations: 0 / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005692/0.8742, allocations: 356.6 kB / 1.214 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.8743, allocations: 71.39 kB / 1.214 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8743, allocations: 0 / 1.214 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8743, allocations: 4 kB / 1.214 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.8744, allocations: 20.09 kB / 1.214 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8744, allocations: 11.98 kB / 1.214 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.8748, allocations: 63.78 kB / 1.214 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.8748, allocations: 19.98 kB / 1.214 GB, free: 5.938 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001391/0.875, allocations: 140 kB / 1.215 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.875, allocations: 23.8 kB / 1.215 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.8751, allocations: 16.5 kB / 1.215 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8751, allocations: 3.938 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8751, allocations: 4 kB / 1.215 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8751, allocations: 0 / 1.215 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.8757, allocations: 0.6147 MB / 1.215 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.8757, allocations: 4 kB / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.8758, allocations: 4 kB / 1.215 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.8758, allocations: 11.94 kB / 1.215 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.8758, allocations: 3.984 kB / 1.215 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8758, allocations: 4 kB / 1.215 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8758, allocations: 0 / 1.215 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.8763, allocations: 422.4 kB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.8763, allocations: 85.02 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.8764, allocations: 15.92 kB / 1.216 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.8765, allocations: 19.92 kB / 1.216 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.8766, allocations: 19.97 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.8766, allocations: 15.98 kB / 1.216 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.8767, allocations: 99.27 kB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8767, allocations: 0 / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003829/0.8771, allocations: 48 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007492/0.8778, allocations: 0.9693 MB / 1.217 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.8783, allocations: 350.5 kB / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8783, allocations: 0 / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.8785, allocations: 119.9 kB / 1.217 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.8789, allocations: 28.41 kB / 1.217 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.8816, allocations: 2.283 MB / 1.22 GB, free: 372 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.8818, allocations: 0.7047 MB / 1.22 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.898e-05/0.8819, allocations: 21.55 kB / 1.22 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.882, allocations: 35.42 kB / 1.22 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.882, allocations: 0 / 1.22 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.9044, allocations: 4.212 MB / 1.224 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/8.381, allocations: 9.703 kB / 1.224 GB, free: 11.47 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.width,booPul1.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time