Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001876/0.001876, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002328/0.002328, allocations: 191.6 kB / 22.11 MB, free: 4.223 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.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.048/3.048, allocations: 495.8 MB / 0.783 GB, free: 12.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.297, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001922/1.299, allocations: 0.7402 MB / 1.307 GB, free: 33.32 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001407/1.3, allocations: 1.273 MB / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/1.3, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.659e-05/1.3, allocations: 7.938 kB / 1.309 GB, free: 32.38 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 8.439e-05/1.3, allocations: 26.45 kB / 1.309 GB, free: 32.36 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006616/1.301, allocations: 243.9 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002532/1.301, allocations: 256.2 kB / 1.309 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.301, allocations: 7.484 kB / 1.309 GB, free: 32.12 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/1.301, allocations: 107.3 kB / 1.309 GB, free: 32.08 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/1.301, allocations: 98.45 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 4.57e-05/1.301, allocations: 23.88 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/1.302, allocations: 28.66 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 4.151e-05/1.302, allocations: 39.91 kB / 1.31 GB, free: 32.02 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001024/1.302, allocations: 87.17 kB / 1.31 GB, free: 31.97 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002576/1.302, allocations: 222.9 kB / 1.31 GB, free: 31.9 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.302, allocations: 2.906 kB / 1.31 GB, free: 31.9 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.593e-06/1.302, allocations: 3.938 kB / 1.31 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.107e-05/1.302, allocations: 0 / 1.31 GB, free: 31.89 MB / 1.061 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.0007114/1.303, allocations: 429.6 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/1.303, allocations: 11.5 kB / 1.31 GB, free: 31.52 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/1.303, allocations: 27.61 kB / 1.31 GB, free: 31.51 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/1.303, allocations: 184.3 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/1.303, allocations: 12.69 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/1.303, allocations: 24.66 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/1.304, allocations: 136.2 kB / 1.311 GB, free: 31.28 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.304, allocations: 3.938 kB / 1.311 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/1.304, allocations: 6.109 kB / 1.311 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/1.304, allocations: 2.656 kB / 1.311 GB, free: 31.27 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/1.304, allocations: 59.97 kB / 1.311 GB, free: 31.26 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/1.304, allocations: 494.1 kB / 1.311 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/1.305, allocations: 133.9 kB / 1.311 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/1.305, allocations: 52.62 kB / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.305, allocations: 6.844 kB / 1.311 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/1.305, allocations: 210.7 kB / 1.312 GB, free: 30.65 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=22): time 1.493e-06/1.305, allocations: 4 kB / 1.312 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of matching and sorting (n=22): time 0.0005347/1.306, allocations: 315.8 kB / 1.312 GB, free: 30.53 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.306, allocations: 90.53 kB / 1.312 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/1.306, allocations: 132 kB / 1.312 GB, free: 30.32 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 4.84e-05/1.306, allocations: 39.02 kB / 1.312 GB, free: 30.28 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/1.306, allocations: 100.8 kB / 1.312 GB, free: 30.19 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/1.306, allocations: 48.45 kB / 1.312 GB, free: 30.15 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.306, allocations: 78.2 kB / 1.312 GB, free: 30.11 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.638e-05/1.306, allocations: 328.9 kB / 1.313 GB, free: 29.79 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.306, allocations: 88.28 kB / 1.313 GB, free: 29.75 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/1.307, allocations: 152.5 kB / 1.313 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/1.307, allocations: 248 kB / 1.313 GB, free: 29.45 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.307, allocations: 0 / 1.313 GB, free: 29.45 MB / 1.061 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004873/1.307, allocations: 362.9 kB / 1.313 GB, free: 29.26 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/1.307, allocations: 67.08 kB / 1.314 GB, free: 29.2 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.307, allocations: 2.75 kB / 1.314 GB, free: 29.2 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.307, allocations: 3.062 kB / 1.314 GB, free: 29.2 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/1.307, allocations: 18.86 kB / 1.314 GB, free: 29.19 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.307, allocations: 13.16 kB / 1.314 GB, free: 29.18 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/1.308, allocations: 63.47 kB / 1.314 GB, free: 29.17 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/1.308, allocations: 24.61 kB / 1.314 GB, free: 29.16 MB / 1.061 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.0001155/1.308, allocations: 152.5 kB / 1.314 GB, free: 29.03 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.308, allocations: 16.31 kB / 1.314 GB, free: 29.02 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/1.308, allocations: 19.7 kB / 1.314 GB, free: 29 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.308, allocations: 6.656 kB / 1.314 GB, free: 29 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.308, allocations: 10.5 kB / 1.314 GB, free: 28.99 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.308, allocations: 0 / 1.314 GB, free: 28.99 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/1.309, allocations: 0.5862 MB / 1.314 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.309, allocations: 0 / 1.314 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/1.309, allocations: 16.44 kB / 1.314 GB, free: 28.56 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.309, allocations: 3.938 kB / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.309, allocations: 6.375 kB / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.309, allocations: 2.781 kB / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.309, allocations: 0 / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/1.309, allocations: 439.1 kB / 1.315 GB, free: 28.27 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/1.309, allocations: 14.75 kB / 1.315 GB, free: 28.26 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.309, allocations: 18.25 kB / 1.315 GB, free: 28.25 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.309, allocations: 9 kB / 1.315 GB, free: 28.25 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/1.309, allocations: 22.53 kB / 1.315 GB, free: 28.25 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/1.309, allocations: 15.86 kB / 1.315 GB, free: 28.24 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 3.974e-05/1.309, allocations: 102.6 kB / 1.315 GB, free: 28.16 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.309, allocations: 0 / 1.315 GB, free: 28.16 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003465/1.31, allocations: 54.38 kB / 1.315 GB, free: 28.15 MB / 1.061 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.0001916/1.31, allocations: 116.2 kB / 1.315 GB, free: 28.06 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0004273/1.31, allocations: 310.2 kB / 1.315 GB, free: 27.87 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.31, allocations: 448 / 1.315 GB, free: 27.87 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.31, allocations: 87.75 kB / 1.316 GB, free: 27.84 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/1.311, allocations: 31.89 kB / 1.316 GB, free: 27.84 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/1.311, allocations: 281.5 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/1.311, allocations: 0.706 MB / 1.317 GB, free: 26.94 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 5.578e-05/1.311, allocations: 13.39 kB / 1.317 GB, free: 26.94 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/1.312, allocations: 26.33 kB / 1.317 GB, free: 26.93 MB / 1.061 GB
Notification: Performance of SimCode: time 5.51e-07/1.312, allocations: 0 / 1.317 GB, free: 26.93 MB / 1.061 GB
Notification: Performance of Templates: time 0.005948/1.317, allocations: 2.799 MB / 1.319 GB, free: 26.68 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.197151057422161]