Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001421/0.001421, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 59.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.003402/1.085, allocations: 1.196 MB / 1.169 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002936/1.088, allocations: 1.635 MB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/1.089, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/1.089, allocations: 31.55 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/1.089, allocations: 55.44 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/1.091, allocations: 433.5 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001136/1.092, allocations: 0.7607 MB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/1.092, allocations: 87.66 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/1.093, allocations: 315.4 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/1.094, allocations: 323 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003375/1.094, allocations: 76 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/1.094, allocations: 91.94 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/1.095, allocations: 159.6 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004594/1.095, allocations: 307 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009656/1.096, allocations: 0.6598 MB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.096, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/1.096, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.419e-05/1.096, allocations: 4 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002352/1.098, allocations: 0.8796 MB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.099, allocations: 12.92 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/1.099, allocations: 68.53 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/1.1, allocations: 396.4 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/1.1, allocations: 52.77 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.1, allocations: 88.31 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/1.101, allocations: 449.8 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.101, allocations: 8 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/1.101, allocations: 23.95 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.101, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/1.101, allocations: 221 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/1.103, allocations: 1.003 MB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/1.104, allocations: 0.6241 MB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/1.104, allocations: 314.3 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/1.104, allocations: 11.94 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.106, allocations: 0.7334 MB / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=102): time 2.925e-06/1.106, allocations: 0 / 1.178 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102): time 0.00236/1.108, allocations: 1.499 MB / 1.179 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/1.108, allocations: 93.97 kB / 1.18 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/1.108, allocations: 266.3 kB / 1.18 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/1.108, allocations: 69.69 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.109, allocations: 150.1 kB / 1.18 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/1.109, allocations: 209.4 kB / 1.18 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/1.109, allocations: 234.9 kB / 1.18 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.109, allocations: 370.7 kB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/1.11, allocations: 230.5 kB / 1.181 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/1.11, allocations: 0.6736 MB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.112, allocations: 0.9888 MB / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.112, allocations: 8 kB / 1.183 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001623/1.113, allocations: 1.04 MB / 1.184 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/1.113, allocations: 67.62 kB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.113, allocations: 20 kB / 1.184 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.427e-05/1.113, allocations: 20 kB / 1.184 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/1.114, allocations: 135.6 kB / 1.184 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.163e-05/1.114, allocations: 31.86 kB / 1.184 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007294/1.115, allocations: 143.1 kB / 1.184 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/1.115, allocations: 67.98 kB / 1.184 GB, free: 1.863 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$PRE.onDelay0.t_next,$whenCondition50,$PRE.onDelay1.t_next,$whenCondition47,$PRE.onDelay2.t_next,$whenCondition44,$PRE.onDelay4.t_next,$whenCondition41,$PRE.onDelay5.t_next,$whenCondition38,$PRE.onDelay6.t_next,$whenCondition35,$PRE.onDelay3.t_next,$whenCondition32,$PRE.onDelay7.t_next,$whenCondition29,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,booPul.y,$PRE.booPul.y,onDelay7.y,onDelay7.u,onDelay3.y,onDelay3.u,onDelay6.y,onDelay6.u,onDelay5.y,onDelay5.u,onDelay4.y,onDelay4.u,onDelay2.y,onDelay2.u,onDelay1.y,onDelay1.u,onDelay0.y,onDelay0.u,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,$whenCondition40,$whenCondition39,$whenCondition43,$whenCondition42,$whenCondition46,$whenCondition45,$whenCondition49,$whenCondition48,$whenCondition52,$whenCondition51,$PRE.onDelay00.t_next,$whenCondition24,$PRE.onDelay11.t_next,$whenCondition21,$PRE.onDelay22.t_next,$whenCondition18,$PRE.onDelay44.t_next,$whenCondition15,$PRE.onDelay55.t_next,$whenCondition12,$PRE.onDelay66.t_next,$whenCondition9,$PRE.onDelay33.t_next,$whenCondition6,$PRE.onDelay77.t_next,$whenCondition3,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,booPul1.y,$PRE.booPul1.y,onDelay77.u,onDelay33.u,onDelay66.u,onDelay55.u,onDelay44.y,onDelay44.u,onDelay22.u,onDelay11.u,onDelay00.y,onDelay00.u,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * 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.0003854/1.115, allocations: 273.8 kB / 1.184 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.115, allocations: 71.41 kB / 1.184 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/1.115, allocations: 55.61 kB / 1.185 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.115, allocations: 7.969 kB / 1.185 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.115, allocations: 0 / 1.185 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/1.115, allocations: 128.3 kB / 1.185 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.116, allocations: 39.89 kB / 1.185 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/1.116, allocations: 55.92 kB / 1.185 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.116, allocations: 92.67 kB / 1.185 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001817/1.118, allocations: 1.365 MB / 1.186 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001826/1.12, allocations: 1.455 MB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006634/1.12, allocations: 0.5417 MB / 1.188 GB, free: 13.72 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001433/1.121, allocations: 162 kB / 1.188 GB, free: 13.56 MB / 0.92 GB Notification: Performance of Backend: time 5.91e-07/1.121, allocations: 0 / 1.188 GB, free: 13.56 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.122, allocations: 0.753 MB / 1.189 GB, free: 12.78 MB / 0.92 GB Notification: Performance of SimCode: time 0.001451/1.124, allocations: 1.085 MB / 1.19 GB, free: 11.64 MB / 0.92 GB Notification: Performance of Templates: time 0.01448/1.138, allocations: 7.675 MB / 1.198 GB, free: 3.984 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches