Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001093/0.001093, allocations: 111 kB / 16.42 MB, free: 6.508 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.001064/0.001064, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.323/2.323, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.603e-05, allocations: 2.281 kB / 1.055 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005105/0.00514, allocations: 4.133 MB / 1.059 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.007404, allocations: 1.332 MB / 1.06 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.007879, allocations: 23.94 kB / 1.06 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.008226, allocations: 126.7 kB / 1.06 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.008652, allocations: 182.4 kB / 1.06 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.009457, allocations: 417 kB / 1.061 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.01047, allocations: 1.069 MB / 1.062 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.01105, allocations: 482.7 kB / 1.062 GB, free: 0 / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.01144, allocations: 334.7 kB / 1.062 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.01178, allocations: 334.3 kB / 1.063 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.01192, allocations: 92 kB / 1.063 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.01204, allocations: 92 kB / 1.063 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006907/0.01274, allocations: 1.185 MB / 1.064 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003894/0.01314, allocations: 0.7426 MB / 1.065 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.01331, allocations: 143.5 kB / 1.065 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001091/0.01342, allocations: 43.69 kB / 1.065 GB, free: 13.03 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 (146) * Number of variables: 146 (146) Notification: Performance of Bindings: time 0.002884/0.01631, allocations: 3.73 MB / 1.069 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001586/0.01648, allocations: 151.8 kB / 1.069 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001549/0.01803, allocations: 1.768 MB / 1.071 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001563/0.0182, allocations: 131.8 kB / 1.071 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of Alias: time 0.003897/0.0221, allocations: 3.93 MB / 1.075 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001108/0.02222, allocations: 75.91 kB / 1.075 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of Events: time 0.0002268/0.02246, allocations: 174.3 kB / 1.075 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004075/0.02288, allocations: 431.8 kB / 1.075 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0004139/0.0233, allocations: 429.8 kB / 1.076 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001558/0.02487, allocations: 1.491 MB / 1.077 GB, free: 124 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.4345/0.4594, allocations: 1.027 MB / 1.078 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of Inline: time 0.001683/0.4611, allocations: 1.812 MB / 1.08 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001082/0.4613, allocations: 103.1 kB / 1.08 GB, free: 23.22 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.783e-05/0.4613, allocations: 86.88 kB / 1.08 GB, free: 23.22 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002508/0.4639, allocations: 2.435 MB / 1.082 GB, free: 22.86 MB / 0.8419 GB Notification: Performance of Tearing: time 1.092e-05/0.4639, allocations: 0 / 1.082 GB, free: 22.86 MB / 0.8419 GB Notification: Performance of Initialization: time 1.222e-06/0.4639, allocations: 1.094 kB / 1.082 GB, free: 22.86 MB / 0.8419 GB Notification: Performance of Tearing: time 4.779e-06/0.4639, allocations: 2.703 kB / 1.082 GB, free: 22.86 MB / 0.8419 GB Notification: Performance of Categorize: time 1.422e-05/0.4639, allocations: 5.375 kB / 1.082 GB, free: 22.86 MB / 0.8419 GB Notification: Performance of Solve: time 0.0004702/0.4644, allocations: 313.5 kB / 1.083 GB, free: 22.83 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0005947/0.465, allocations: 0.7104 MB / 1.083 GB, free: 22.57 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {plaWitRes.cap.T, plaWitRes.cap1.T, conWitRes.conPID.I.y, plaNoRes.cap.T, plaNoRes.cap1.T, conNoRes.conPID.I.y} * Number of discrete states: .................... 2 (2) {TSet.count, TSet.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {conWitRes.trigger.y, conNoRes.trigger.y, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 88 (scalar:88, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001051/0.4651, allocations: 38.72 kB / 1.083 GB, free: 22.56 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002436/0.4675, allocations: 3.061 MB / 1.086 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.008701/0.4763, allocations: 4.14 MB / 1.09 GB, free: 20.75 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,TSet.y,plaWitRes.temSen.T,plaNoRes.temSen.T,conWitRes.conPID.trigger,conWitRes.conPID.controlError,conNoRes.conPID.controlError Variables in the result:TSet.amplitude,TSet.nperiod,TSet.offset,TSet.period,TSet.startTime,TSet.width,TSet.y,conNoRes.conPID.I.initType,conNoRes.conPID.I.k,conNoRes.conPID.I.reset,conNoRes.conPID.I.trigger_internal,conNoRes.conPID.I.y_reset,conNoRes.conPID.I.y_reset_internal,conNoRes.conPID.I.y_start,conNoRes.conPID.Nd,conNoRes.conPID.Ni,conNoRes.conPID.P.k,conNoRes.conPID.Td,conNoRes.conPID.Ti,conNoRes.conPID.addI.k1,conNoRes.conPID.addI.k2,conNoRes.conPID.addI.k3,conNoRes.conPID.addP.k1,conNoRes.conPID.addP.k2,conNoRes.conPID.addPID.k1,conNoRes.conPID.addPID.k2,conNoRes.conPID.addPID.k3,conNoRes.conPID.addPID.u2,conNoRes.conPID.addSat.k1,conNoRes.conPID.addSat.k2,conNoRes.conPID.controlError,conNoRes.conPID.controllerType,conNoRes.conPID.gainPID.k,conNoRes.conPID.gainTrack.k,conNoRes.conPID.initType,conNoRes.conPID.k,conNoRes.conPID.limiter.limitsAtInit,conNoRes.conPID.limiter.strict,conNoRes.conPID.limiter.uMax,conNoRes.conPID.limiter.uMin,conNoRes.conPID.reset,conNoRes.conPID.revAct,conNoRes.conPID.reverseActing,conNoRes.conPID.strict,conNoRes.conPID.wd,conNoRes.conPID.wp,conNoRes.conPID.xd_start,conNoRes.conPID.xi_start,conNoRes.conPID.yMax,conNoRes.conPID.yMin,conNoRes.conPID.y_reset,conNoRes.conPID.y_reset_internal,conNoRes.conPID.y_start,conNoRes.gain.k,conNoRes.reset,conNoRes.trigger.threshold,conWitRes.conPID.I.initType,conWitRes.conPID.I.k,conWitRes.conPID.I.reset,conWitRes.conPID.I.y_reset,conWitRes.conPID.I.y_start,conWitRes.conPID.Nd,conWitRes.conPID.Ni,conWitRes.conPID.P.k,conWitRes.conPID.Td,conWitRes.conPID.Ti,conWitRes.conPID.addI.k1,conWitRes.conPID.addI.k2,conWitRes.conPID.addI.k3,conWitRes.conPID.addP.k1,conWitRes.conPID.addP.k2,conWitRes.conPID.addP.u1,conWitRes.conPID.addPID.k1,conWitRes.conPID.addPID.k2,conWitRes.conPID.addPID.k3,conWitRes.conPID.addPID.u2,conWitRes.conPID.addSat.k1,conWitRes.conPID.addSat.k2,conWitRes.conPID.controlError,conWitRes.conPID.controllerType,conWitRes.conPID.gainPID.k,conWitRes.conPID.gainTrack.k,conWitRes.conPID.initType,conWitRes.conPID.k,conWitRes.conPID.limiter.limitsAtInit,conWitRes.conPID.limiter.strict,conWitRes.conPID.limiter.uMax,conWitRes.conPID.limiter.uMin,conWitRes.conPID.reset,conWitRes.conPID.revAct,conWitRes.conPID.reverseActing,conWitRes.conPID.strict,conWitRes.conPID.trigger,conWitRes.conPID.wd,conWitRes.conPID.wp,conWitRes.conPID.xd_start,conWitRes.conPID.xi_start,conWitRes.conPID.yMax,conWitRes.conPID.yMin,conWitRes.conPID.y_reset,conWitRes.conPID.y_reset_internal,conWitRes.conPID.y_start,conWitRes.gain.k,conWitRes.reset,conWitRes.trigger.threshold,conWitRes.trigger.y,plaNoRes.TBou.T,plaNoRes.TBou.port.T,plaNoRes.cap.C,plaNoRes.cap1.C,plaNoRes.cap1.T,plaNoRes.preHea.T_ref,plaNoRes.preHea.alpha,plaNoRes.temSen.T,plaNoRes.temSen.port.Q_flow,plaNoRes.theCon.G,plaNoRes.theCon.port_a.T,plaNoRes.theCon1.G,plaWitRes.TBou.T,plaWitRes.TBou.port.T,plaWitRes.cap.C,plaWitRes.cap1.C,plaWitRes.cap1.T,plaWitRes.preHea.T_ref,plaWitRes.preHea.alpha,plaWitRes.temSen.T,plaWitRes.temSen.port.Q_flow,plaWitRes.theCon.G,plaWitRes.theCon.port_a.T,plaWitRes.theCon1.G,time