Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001664/0.001664, allocations: 106 kB / 18.84 MB, free: 3.043 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.002118/0.002118, allocations: 190.3 kB / 22.1 MB, free: 5.152 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.497/1.497, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.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.241/3.241, allocations: 495.8 MB / 0.783 GB, free: 33.64 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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset")
translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 66.39 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4016, allocations: 173.6 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005751/0.4074, allocations: 4.149 MB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002505/0.4099, allocations: 1.34 MB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.4102, allocations: 31.81 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000347/0.4106, allocations: 130.7 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.4109, allocations: 182.4 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.4118, allocations: 426.7 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0009823/0.4128, allocations: 0.967 MB / 1.314 GB, free: 10.65 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.4133, allocations: 306.6 kB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.4137, allocations: 342.8 kB / 1.314 GB, free: 9.992 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.4141, allocations: 342.3 kB / 1.315 GB, free: 9.656 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4142, allocations: 91.98 kB / 1.315 GB, free: 9.566 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4143, allocations: 92 kB / 1.315 GB, free: 9.477 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4145, allocations: 175.4 kB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.4148, allocations: 390 kB / 1.315 GB, free: 8.922 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4159, allocations: 1.066 MB / 1.316 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4159, allocations: 0 / 1.316 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.495e-06/0.4159, allocations: 0 / 1.316 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.289e-05/0.4159, allocations: 4 kB / 1.316 GB, free: 7.848 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 146
 * Number of variables: 146
Notification: Performance of Generate backend data structure: time 0.002009/0.418, allocations: 1.08 MB / 1.318 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.418, allocations: 12.03 kB / 1.318 GB, free: 6.711 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.4181, allocations: 92.31 kB / 1.318 GB, free: 6.621 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.4191, allocations: 0.5038 MB / 1.318 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.4192, allocations: 49.67 kB / 1.318 GB, free: 6.051 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4193, allocations: 60.33 kB / 1.318 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4204, allocations: 0.604 MB / 1.319 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.4204, allocations: 0 / 1.319 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.4205, allocations: 31.98 kB / 1.319 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4205, allocations: 19.94 kB / 1.319 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4216, allocations: 457 kB / 1.319 GB, free: 4.867 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.4247, allocations: 1.935 MB / 1.321 GB, free: 2.859 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.4257, allocations: 417.7 kB / 1.322 GB, free: 2.445 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.4262, allocations: 222.9 kB / 1.322 GB, free: 2.227 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4262, allocations: 8.422 kB / 1.322 GB, free: 2.219 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.4268, allocations: 265.2 kB / 1.322 GB, free: 1.945 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=49): time 2.544e-06/0.4268, allocations: 4 kB / 1.322 GB, free: 1.941 MB / 1.014 GB
Notification: Performance of matching and sorting (n=49): time 0.001412/0.4282, allocations: 0.5807 MB / 1.323 GB, free: 1.359 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.4283, allocations: 63.84 kB / 1.323 GB, free: 1.281 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.4288, allocations: 446 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.4288, allocations: 33.7 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4291, allocations: 328.9 kB / 1.323 GB, free: 480 kB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4292, allocations: 170.5 kB / 1.324 GB, free: 308 kB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.4294, allocations: 98.28 kB / 1.324 GB, free: 204 kB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001824/0.4296, allocations: 362.8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.43, allocations: 169.2 kB / 1.324 GB, free: 15.67 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.4304, allocations: 250.6 kB / 1.324 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.4313, allocations: 455 kB / 1.325 GB, free: 14.92 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4313, allocations: 3.938 kB / 1.325 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of matching and sorting (n=66) (initialization): time 0.001129/0.4325, allocations: 0.5614 MB / 1.325 GB, free: 14.34 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.4325, allocations: 45.7 kB / 1.325 GB, free: 14.29 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4325, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4325, allocations: 4 kB / 1.325 GB, free: 14.29 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.4331, allocations: 115.8 kB / 1.326 GB, free: 14.17 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4331, allocations: 4 kB / 1.326 GB, free: 14.17 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.4334, allocations: 59.64 kB / 1.326 GB, free: 14.11 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.4334, allocations: 16 kB / 1.326 GB, free: 14.09 MB / 1.029 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0002917/0.4337, allocations: 215.3 kB / 1.326 GB, free: 13.88 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.4338, allocations: 63.56 kB / 1.326 GB, free: 13.81 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.434, allocations: 61.58 kB / 1.326 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.434, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.434, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.434, allocations: 7.922 kB / 1.326 GB, free: 13.74 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.4359, allocations: 1.158 MB / 1.327 GB, free: 12.54 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4359, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.4364, allocations: 87.89 kB / 1.327 GB, free: 12.45 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4364, allocations: 3.984 kB / 1.327 GB, free: 12.45 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.4364, allocations: 15.98 kB / 1.327 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4364, allocations: 4 kB / 1.327 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4364, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.4379, allocations: 0.7613 MB / 1.328 GB, free: 11.64 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.438, allocations: 95.58 kB / 1.328 GB, free: 11.55 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.4381, allocations: 12.12 kB / 1.328 GB, free: 11.54 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.4384, allocations: 19.98 kB / 1.328 GB, free: 11.52 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4385, allocations: 52.3 kB / 1.328 GB, free: 11.46 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.4385, allocations: 8 kB / 1.328 GB, free: 11.46 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003625/0.4389, allocations: 310.9 kB / 1.328 GB, free: 11.16 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.4389, allocations: 0 / 1.328 GB, free: 11.16 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0005143/0.4394, allocations: 151.6 kB / 1.329 GB, free: 11.01 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T)
 * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y)
 * Number of discrete states: 1 (TSet.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (49):
 * Single equations (assignments): 47
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.000138/0.4396, allocations: 110.6 kB / 1.329 GB, free: 10.89 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0009756/0.4405, allocations: 464.6 kB / 1.329 GB, free: 10.43 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4405, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.441, allocations: 202.4 kB / 1.329 GB, free: 10.24 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.4417, allocations: 157.9 kB / 1.33 GB, free: 10.09 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.4446, allocations: 1.368 MB / 1.331 GB, free: 8.684 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.4451, allocations: 0.8861 MB / 1.332 GB, free: 7.773 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002795/0.4454, allocations: 56.59 kB / 1.332 GB, free: 7.719 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4455, allocations: 43.42 kB / 1.332 GB, free: 7.676 MB / 1.029 GB
Notification: Performance of SimCode: time 1.573e-06/0.4455, allocations: 0 / 1.332 GB, free: 7.676 MB / 1.029 GB
Notification: Performance of Templates: time 0.01274/0.4582, allocations: 6.309 MB / 1.338 GB, free: 1.449 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: 9.761016250588]