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 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 106.7 kB / 16.41 MB, free: 6.504 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.001361/0.001361, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 67.84 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002267/1.018, allocations: 0.7261 MB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001889/1.02, allocations: 1.264 MB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/1.02, allocations: 4 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/1.02, allocations: 7.938 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/1.02, allocations: 19.78 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008821/1.021, allocations: 249.5 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/1.022, allocations: 259.6 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/1.022, allocations: 24.2 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/1.022, allocations: 99.8 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/1.022, allocations: 95.73 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/1.022, allocations: 24 kB / 1.229 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/1.022, allocations: 39.98 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/1.023, allocations: 31.84 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/1.023, allocations: 91.73 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003944/1.023, allocations: 227.8 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.023, allocations: 4 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.412e-06/1.023, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.023, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9512 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.0008853/1.024, allocations: 0.4945 MB / 1.23 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.024, allocations: 12.03 kB / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/1.024, allocations: 20.84 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/1.025, allocations: 244.4 kB / 1.23 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/1.025, allocations: 16.36 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/1.025, allocations: 24.36 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/1.025, allocations: 138.7 kB / 1.23 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.025, allocations: 3.938 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/1.025, allocations: 7.984 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.025, allocations: 4 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/1.025, allocations: 59.95 kB / 1.23 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/1.026, allocations: 0.5084 MB / 1.231 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/1.027, allocations: 169.2 kB / 1.231 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.027, allocations: 61.7 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/1.027, allocations: 3.984 kB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/1.027, allocations: 208.8 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/1.027, allocations: 0 / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.0005818/1.028, allocations: 301.4 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.028, allocations: 93.09 kB / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.028, allocations: 130 kB / 1.232 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/1.028, allocations: 37.69 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/1.028, allocations: 100.7 kB / 1.232 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/1.028, allocations: 59.72 kB / 1.232 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.028, allocations: 77.67 kB / 1.232 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.028, allocations: 322.8 kB / 1.232 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/1.029, allocations: 88.23 kB / 1.232 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.029, allocations: 161 kB / 1.233 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/1.029, allocations: 257.8 kB / 1.233 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.029, allocations: 0 / 1.233 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005752/1.03, allocations: 356.7 kB / 1.233 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/1.03, allocations: 67.39 kB / 1.233 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.03, allocations: 0 / 1.233 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.03, allocations: 4 kB / 1.233 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/1.03, allocations: 23.92 kB / 1.233 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.03, allocations: 8.156 kB / 1.233 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/1.03, allocations: 71.77 kB / 1.233 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.03, allocations: 19.98 kB / 1.233 GB, free: 5.887 MB / 0.9512 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.0001437/1.031, allocations: 136.6 kB / 1.234 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/1.031, allocations: 23.84 kB / 1.234 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/1.031, allocations: 16.5 kB / 1.234 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.031, allocations: 0 / 1.234 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.031, allocations: 3.984 kB / 1.234 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/1.031, allocations: 92.95 kB / 1.234 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/1.031, allocations: 8 kB / 1.234 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/1.031, allocations: 11.98 kB / 1.234 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/1.031, allocations: 23.95 kB / 1.234 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004787/1.031, allocations: 420.1 kB / 1.234 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004848/1.032, allocations: 0.4912 MB / 1.235 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001477/1.032, allocations: 111.1 kB / 1.235 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.921e-05/1.032, allocations: 99.2 kB / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of Backend: time 7.22e-07/1.032, allocations: 0 / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000853/1.033, allocations: 374.1 kB / 1.235 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006915/1.034, allocations: 0.6683 MB / 1.236 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.00668/1.04, allocations: 2.828 MB / 1.239 GB, free: 0.4961 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches