Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001783/0.001783, allocations: 111.8 kB / 16.43 MB, free: 6.422 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.001769/0.001769, allocations: 186.1 kB / 17.36 MB, free: 5.684 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.114/1.114, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.173/2.173, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.169e-05, allocations: 2.5 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004131/0.004152, allocations: 4.14 MB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.005889, allocations: 1.325 MB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.006121, allocations: 23.94 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.006391, allocations: 126.7 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.006662, allocations: 182.4 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.007331, allocations: 425.2 kB / 1.072 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008292/0.008168, allocations: 1.08 MB / 1.073 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.008553, allocations: 282.9 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.008836, allocations: 334.7 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.009095, allocations: 334.3 kB / 1.074 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.994e-05/0.009201, allocations: 92 kB / 1.074 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.009302, allocations: 88 kB / 1.074 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006692/0.009977, allocations: 1.189 MB / 1.075 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003428/0.01033, allocations: 0.7464 MB / 1.076 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.01043, allocations: 143.5 kB / 1.076 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.151e-05/0.01052, allocations: 39.69 kB / 1.076 GB, free: 3.074 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.001964/0.01249, allocations: 2.633 MB / 1.079 GB, free: 280 kB / 0.8419 GB Notification: Performance of FunctionAlias: time 9.713e-05/0.01259, allocations: 147.8 kB / 1.079 GB, free: 132 kB / 0.8419 GB Notification: Performance of Early Inline: time 0.3758/0.3884, allocations: 1.165 MB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002881/0.3887, allocations: 237.2 kB / 1.08 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of Alias: time 0.002517/0.3912, allocations: 2.408 MB / 1.082 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000115/0.3914, allocations: 139.1 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002844/0.3917, allocations: 262.2 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of Events: time 0.0001919/0.3919, allocations: 172.1 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002464/0.3921, allocations: 275.2 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00109/0.3932, allocations: 0.9921 MB / 1.084 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005462/0.3938, allocations: 0.6994 MB / 1.085 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Inline: time 0.001114/0.3949, allocations: 1.278 MB / 1.086 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.36e-05/0.3949, allocations: 38.05 kB / 1.086 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001605/0.3951, allocations: 272.2 kB / 1.086 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001777/0.3969, allocations: 1.535 MB / 1.088 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Tearing: time 1.189e-05/0.3969, allocations: 2.953 kB / 1.088 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Initialization: time 5.31e-07/0.3969, allocations: 0 / 1.088 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Tearing: time 4.779e-06/0.3969, allocations: 0.8438 kB / 1.088 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Categorize: time 1.028e-05/0.3969, allocations: 2.938 kB / 1.088 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003606/0.3973, allocations: 247.2 kB / 1.088 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.00039/0.3977, allocations: 0.4911 MB / 1.089 GB, free: 11.8 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.T_start, TSet.count} * 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 8.567e-05/0.3978, allocations: 48.02 kB / 1.089 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002086/0.3999, allocations: 2.972 MB / 1.092 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.007881/0.4078, allocations: 4.166 MB / 1.096 GB, free: 9.801 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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