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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00145/0.00145, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 176] 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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.83 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4367, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002814/0.4395, allocations: 0.744 MB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.4419, allocations: 1.269 MB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.442, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.442, allocations: 11.92 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.4421, allocations: 23.8 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4432, allocations: 250.9 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.4436, allocations: 255.5 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.4438, allocations: 16.22 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.4439, allocations: 99.86 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.4442, allocations: 95.67 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.4443, allocations: 24 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.4444, allocations: 35.98 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.4444, allocations: 35.84 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4446, allocations: 87.75 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.4451, allocations: 231.3 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4451, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4451, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4451, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 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.001152/0.4462, allocations: 0.4945 MB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.4463, allocations: 8.031 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.4464, allocations: 16.89 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.4472, allocations: 248.3 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.4473, allocations: 16.36 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.4473, allocations: 28.31 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.4477, allocations: 131.8 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4477, allocations: 7.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.4477, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4477, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4479, allocations: 59.95 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.449, allocations: 0.5201 MB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.4494, allocations: 137.2 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4496, allocations: 49.69 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4496, allocations: 4 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.4501, allocations: 208.8 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 2.235e-06/0.4501, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.0008774/0.451, allocations: 313.4 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.4511, allocations: 89.05 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4512, allocations: 129.7 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.4513, allocations: 41.7 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4514, allocations: 100.8 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.4515, allocations: 51.62 kB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.4517, allocations: 73.67 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4519, allocations: 330.8 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.4521, allocations: 84.23 kB / 1.222 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.4524, allocations: 153 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.4529, allocations: 250.9 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4529, allocations: 4 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008607/0.4538, allocations: 356.7 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.4538, allocations: 67.39 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4538, allocations: 8 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4539, allocations: 7.938 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.454, allocations: 15.94 kB / 1.223 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.454, allocations: 11.88 kB / 1.223 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.4545, allocations: 72.03 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.4546, allocations: 19.98 kB / 1.223 GB, free: 7.727 MB / 0.9669 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.0001915/0.4548, allocations: 144 kB / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.4548, allocations: 19.89 kB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.4549, allocations: 12.5 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4549, allocations: 4 kB / 1.223 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.4549, allocations: 7.938 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4549, allocations: 0 / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.4558, allocations: 0.6148 MB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4558, allocations: 0 / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.4559, allocations: 11.94 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4559, allocations: 3.938 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.4559, allocations: 7.984 kB / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4559, allocations: 0 / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.456, allocations: 4 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.4566, allocations: 428.5 kB / 1.224 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.4567, allocations: 85.06 kB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.4567, allocations: 15.92 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.457, allocations: 11.92 kB / 1.224 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.4571, allocations: 23.97 kB / 1.225 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.4571, allocations: 15.98 kB / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.073e-05/0.4572, allocations: 99.02 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4572, allocations: 0 / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005776/0.4578, allocations: 59.95 kB / 1.225 GB, free: 6.082 MB / 0.9669 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.0002193/0.458, allocations: 115.2 kB / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.4585, allocations: 322.5 kB / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4585, allocations: 448 / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4586, allocations: 83.91 kB / 1.225 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.459, allocations: 34.09 kB / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.4596, allocations: 288.2 kB / 1.225 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.46, allocations: 0.7086 MB / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.662e-05/0.46, allocations: 21.55 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4601, allocations: 15.44 kB / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.4601, allocations: 0 / 1.226 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.006485/0.4666, allocations: 2.757 MB / 1.229 GB, free: 1.688 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 8.659444821998477]