Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001697/0.001697, allocations: 111 kB / 16.42 MB, free: 6.527 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.001935/0.001935, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.392/1.392, 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 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/2.921e-05, allocations: 2.5 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006296/0.006334, allocations: 4.135 MB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.009807, allocations: 1.325 MB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.01079, allocations: 19.94 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.01136, allocations: 130.7 kB / 1.025 GB, free: 3.867 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007967/0.01217, allocations: 182.4 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.01349, allocations: 425 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.01504, allocations: 1.076 MB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.01584, allocations: 474.8 kB / 1.027 GB, free: 1.715 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.0164, allocations: 334.7 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.01688, allocations: 338.3 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.01705, allocations: 92 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.01722, allocations: 92 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0009102/0.01814, allocations: 1.182 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0005268/0.01867, allocations: 0.7465 MB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.01896, allocations: 147.4 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0002076/0.01917, allocations: 43.69 kB / 1.03 GB, free: 14.73 MB / 0.8106 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.0038/0.02298, allocations: 3.738 MB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0002485/0.02324, allocations: 147.7 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001991/0.02524, allocations: 1.768 MB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0002344/0.02548, allocations: 123.8 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of Alias: time 0.004723/0.03021, allocations: 3.922 MB / 1.039 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of simplify2: time 0.0001532/0.03039, allocations: 79.91 kB / 1.039 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of Detect States: time 0.0007428/0.03114, allocations: 384.3 kB / 1.039 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of Events: time 0.0003539/0.0315, allocations: 180.9 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.00055/0.03206, allocations: 433.8 kB / 1.04 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of Causalize: time 0.001967/0.03404, allocations: 1.494 MB / 1.041 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.001082/0.03513, allocations: 1.029 MB / 1.042 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of Inline: time 0.002168/0.03731, allocations: 1.828 MB / 1.044 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001519/0.03747, allocations: 103.6 kB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of Cleanup: time 0.0001662/0.03765, allocations: 83.86 kB / 1.044 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of Causalize: time 0.003537/0.04119, allocations: 2.434 MB / 1.047 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Tearing: time 2.067e-05/0.04123, allocations: 4 kB / 1.047 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Initialization: time 6.71e-07/0.04124, allocations: 3.938 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Tearing: time 7.985e-06/0.04125, allocations: 0 / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Categorize: time 1.9e-05/0.04128, allocations: 4 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Solve: time 0.0005967/0.04188, allocations: 306.9 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of Jacobian: time 0.0008339/0.04272, allocations: 0.7119 MB / 1.048 GB, free: 11.25 MB / 0.8262 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.0001614/0.04289, allocations: 51.25 kB / 1.048 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of SimCode: time 0.003321/0.04622, allocations: 3.081 MB / 1.051 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.009585/0.05582, allocations: 4.141 MB / 1.055 GB, free: 3.949 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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