Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 112.2 kB / 16.42 MB, free: 6.516 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.001262/0.001262, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.301/1.301, 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 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 71.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8986, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006089/0.9048, allocations: 4.129 MB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.9081, allocations: 1.329 MB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.9092, allocations: 25.22 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.9097, allocations: 119.8 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.9104, allocations: 185.8 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.9117, allocations: 412.8 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.9132, allocations: 0.9591 MB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/0.914, allocations: 465.6 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006364/0.9147, allocations: 338.1 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.9152, allocations: 332.9 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.9155, allocations: 90.5 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.9157, allocations: 90.31 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.9159, allocations: 180.8 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.9165, allocations: 390.9 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.918, allocations: 1.06 MB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.9181, allocations: 4.688 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.955e-06/0.9181, allocations: 0.8438 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.9181, allocations: 4 kB / 1.098 GB, free: 15.12 MB / 0.8731 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.002294/0.9204, allocations: 1.071 MB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.9205, allocations: 8.875 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.9206, allocations: 90.75 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.9216, allocations: 0.5688 MB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.9217, allocations: 45.64 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.9218, allocations: 56.58 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.923, allocations: 0.6073 MB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.923, allocations: 5.703 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.923, allocations: 25.66 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.9231, allocations: 14.06 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.9241, allocations: 457.4 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.9271, allocations: 1.989 MB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.9281, allocations: 453 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.9287, allocations: 245.7 kB / 1.104 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.9287, allocations: 5.031 kB / 1.104 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006065/0.9293, allocations: 266 kB / 1.104 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 2.464e-06/0.9293, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001339/0.9307, allocations: 0.5793 MB / 1.105 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.9307, allocations: 61.06 kB / 1.105 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.9312, allocations: 445.5 kB / 1.105 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.9313, allocations: 37.33 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.9315, allocations: 321.8 kB / 1.106 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.9317, allocations: 164.4 kB / 1.106 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.9318, allocations: 96.52 kB / 1.106 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.932, allocations: 363.8 kB / 1.106 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.9324, allocations: 173.7 kB / 1.106 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.9329, allocations: 246 kB / 1.107 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.9337, allocations: 455.2 kB / 1.107 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9337, allocations: 0 / 1.107 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001059/0.9348, allocations: 0.5572 MB / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.9348, allocations: 41.31 kB / 1.108 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.9349, allocations: 2.891 kB / 1.108 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.9349, allocations: 4.781 kB / 1.108 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.9354, allocations: 113.1 kB / 1.108 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.9354, allocations: 5.188 kB / 1.108 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.9358, allocations: 56.62 kB / 1.108 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.9358, allocations: 17.89 kB / 1.108 GB, free: 9.539 MB / 0.8731 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002449/0.9361, allocations: 218.2 kB / 1.108 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.9361, allocations: 58.77 kB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.9363, allocations: 64.27 kB / 1.108 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.9363, allocations: 3.688 kB / 1.108 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9363, allocations: 0 / 1.108 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.9365, allocations: 180.7 kB / 1.108 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.9366, allocations: 7.438 kB / 1.108 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.9369, allocations: 24.91 kB / 1.108 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.937, allocations: 36.78 kB / 1.108 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001327/0.9383, allocations: 0.5494 MB / 1.109 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001422/0.9398, allocations: 0.8531 MB / 1.11 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004154/0.9402, allocations: 208.9 kB / 1.11 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004113/0.9406, allocations: 312.3 kB / 1.11 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of Backend: time 5.11e-07/0.9406, allocations: 0 / 1.11 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.9417, allocations: 412.4 kB / 1.111 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002475/0.9442, allocations: 1.709 MB / 1.112 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of Templates: time 0.0177/0.9619, allocations: 7.061 MB / 1.119 GB, free: 6.156 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches