Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_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.01096/0.01096, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.002279/0.002279, allocations: 193.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.871/2.871, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.195/5.195, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002865, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7524, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.008972/0.7615, allocations: 0.7387 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.7652, allocations: 1.257 MB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.7653, allocations: 4 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.243e-05/0.7654, allocations: 7.875 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.7657, allocations: 19.84 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.7671, allocations: 246.8 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.7677, allocations: 271.5 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.7679, allocations: 20.17 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.7681, allocations: 99.8 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.7684, allocations: 91.73 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.7685, allocations: 24 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.7687, allocations: 39.92 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.7688, allocations: 31.91 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.769, allocations: 95.73 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.7695, allocations: 223.6 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7696, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.856e-06/0.7696, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.7696, allocations: 0 / 1.169 GB, free: 4.098 MB / 0.92 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.006345/0.776, allocations: 0.4945 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 0.000111/0.7761, allocations: 12.03 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.7762, allocations: 38.73 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.7764, allocations: 16.89 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.7775, allocations: 256.3 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.7776, allocations: 16.36 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.7777, allocations: 20.36 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.7783, allocations: 127.6 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7783, allocations: 4 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.7784, allocations: 11.98 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7784, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.7787, allocations: 63.89 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.7805, allocations: 0.5162 MB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.7811, allocations: 161.2 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.7813, allocations: 61.7 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.7813, allocations: 3.984 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/0.7819, allocations: 215.1 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 3.267e-06/0.7819, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.001071/0.783, allocations: 305.7 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.7832, allocations: 96.97 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.7835, allocations: 133.7 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.236e-05/0.7835, allocations: 41.62 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.7837, allocations: 104.8 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.7838, allocations: 47.64 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.7841, allocations: 73.67 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003088/0.7844, allocations: 322.8 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.7847, allocations: 84.23 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.7851, allocations: 152.7 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.7858, allocations: 255 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7858, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001765/0.7876, allocations: 360.7 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.7877, allocations: 67.39 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7878, allocations: 4.219 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.021e-05/0.7878, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.788, allocations: 27.86 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.7881, allocations: 4 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.7888, allocations: 63.83 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.7889, allocations: 15.98 kB / 1.173 GB, free: 15.61 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.0003344/0.7892, allocations: 148 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.7893, allocations: 15.91 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.7894, allocations: 16.5 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7894, allocations: 3.938 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.7894, allocations: 4 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.7894, allocations: 3.984 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.7909, allocations: 0.6151 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7909, allocations: 4 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.791, allocations: 4 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.791, allocations: 7.938 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.7911, allocations: 7.984 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.7911, allocations: 4 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7911, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.7919, allocations: 422.1 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.7921, allocations: 89.06 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.7922, allocations: 15.92 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.7924, allocations: 11.98 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.7926, allocations: 23.97 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.7926, allocations: 15.98 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001519/0.7928, allocations: 95.27 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7928, allocations: 0 / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007752/0.7936, allocations: 55.94 kB / 1.175 GB, free: 13.97 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.001782/0.7954, allocations: 0.9678 MB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.7966, allocations: 354.4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7966, allocations: 448 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.7969, allocations: 123.9 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.7977, allocations: 28.3 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.8036, allocations: 2.278 MB / 1.178 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/0.8044, allocations: 0.7047 MB / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.8045, allocations: 21.53 kB / 1.179 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.8047, allocations: 43.42 kB / 1.179 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of SimCode: time 2.104e-06/0.8047, allocations: 0 / 1.179 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.9121, allocations: 4.109 MB / 1.183 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/17.09, allocations: 10.67 kB / 1.183 GB, free: 5.227 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches