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.001183/0.001183, allocations: 111.8 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.001141/0.001141, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.17/1.17, allocations: 222.9 MB / 241.1 MB, free: 15.16 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 1.929/1.929, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.573e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004467/0.004491, allocations: 4.128 MB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.006377, allocations: 1.317 MB / 0.9567 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.006632, allocations: 31.81 kB / 0.9568 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.00691, allocations: 126.7 kB / 0.9569 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.00721, allocations: 182.4 kB / 0.9571 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.007916, allocations: 414.9 kB / 0.9575 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.00877, allocations: 1.072 MB / 0.9585 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.009316, allocations: 474.8 kB / 0.959 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.009602, allocations: 342.7 kB / 0.9593 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.009884, allocations: 330.4 kB / 0.9596 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.009986, allocations: 88 kB / 0.9597 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.01009, allocations: 96 kB / 0.9598 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0006967/0.01079, allocations: 1.189 MB / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0003451/0.01114, allocations: 0.7464 MB / 0.9617 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.01126, allocations: 143.6 kB / 0.9618 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of FrontEnd: time 8.5e-05/0.01135, allocations: 39.69 kB / 0.9618 GB, free: 12.95 MB / 0.7481 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.002845/0.0142, allocations: 3.73 MB / 0.9655 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001131/0.01432, allocations: 155.8 kB / 0.9656 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.001469/0.0158, allocations: 1.757 MB / 0.9674 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001028/0.01591, allocations: 139.8 kB / 0.9675 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of Alias: time 0.003851/0.01977, allocations: 3.934 MB / 0.9713 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of simplify2: time 7.537e-05/0.01986, allocations: 75.89 kB / 0.9714 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0003679/0.02023, allocations: 382 kB / 0.9718 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of Events: time 0.0002224/0.02046, allocations: 176.9 kB / 0.9719 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0004045/0.02087, allocations: 425.8 kB / 0.9723 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of Causalize: time 0.001528/0.02241, allocations: 1.506 MB / 0.9738 GB, free: 76 kB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0008314/0.02325, allocations: 1.03 MB / 0.9748 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of Inline: time 0.001617/0.02487, allocations: 1.821 MB / 0.9766 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of Partitioning: time 9.803e-05/0.02498, allocations: 107.6 kB / 0.9767 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of Cleanup: time 6.336e-05/0.02505, allocations: 83.86 kB / 0.9768 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of Causalize: time 0.002419/0.02747, allocations: 2.427 MB / 0.9791 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of Tearing: time 1.247e-05/0.0275, allocations: 0 / 0.9791 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of Initialization: time 3.81e-07/0.0275, allocations: 0 / 0.9791 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of Tearing: time 3.987e-06/0.02751, allocations: 0 / 0.9791 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of Categorize: time 1.852e-05/0.02753, allocations: 11.88 kB / 0.9792 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of Solve: time 0.0003958/0.02794, allocations: 314.8 kB / 0.9795 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of Jacobian: time 0.0006093/0.02855, allocations: 0.7119 MB / 0.9802 GB, free: 9.461 MB / 0.7637 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 4.536e-05/0.02861, allocations: 30.27 kB / 0.9802 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of SimCode: time 0.002142/0.03075, allocations: 3.088 MB / 0.9832 GB, free: 6.293 MB / 0.7637 GB Notification: Performance of Templates: time 0.007039/0.0378, allocations: 4.125 MB / 0.9872 GB, free: 2.176 MB / 0.7637 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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