Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 101.3 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 206.6 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.628e-05, allocations: 2.281 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition): time 0.003988/0.004014, allocations: 2.442 MB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00345/0.007465, allocations: 2.029 MB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.008038, allocations: 34.88 kB / 1.159 GB, free: 22.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.008475, allocations: 140.4 kB / 1.16 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.008764, allocations: 121.9 kB / 1.16 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.01002, allocations: 456 kB / 1.16 GB, free: 21.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.01122, allocations: 1.14 MB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.01174, allocations: 306.6 kB / 1.161 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.0123, allocations: 387 kB / 1.162 GB, free: 20.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.01266, allocations: 384.5 kB / 1.162 GB, free: 20.51 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.01283, allocations: 103.2 kB / 1.162 GB, free: 20.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.01307, allocations: 125.8 kB / 1.162 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0009985/0.01407, allocations: 1.495 MB / 1.164 GB, free: 19.43 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0004952/0.01457, allocations: 0.8888 MB / 1.165 GB, free: 18.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.01472, allocations: 55.75 kB / 1.165 GB, free: 18.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001256/0.01484, allocations: 47.47 kB / 1.165 GB, free: 18.77 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (140) * Number of variables: 140 (140) Notification: Performance of [SIM] Bindings: time 0.003466/0.01831, allocations: 3.437 MB / 1.168 GB, free: 16.4 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004722/0.01878, allocations: 421.8 kB / 1.169 GB, free: 16.14 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.00303/0.02181, allocations: 2.776 MB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0008516/0.02266, allocations: 0.4957 MB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.005008/0.02767, allocations: 3.484 MB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0005714/0.02824, allocations: 387.6 kB / 1.176 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003335/0.02858, allocations: 307 kB / 1.176 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0009191/0.0295, allocations: 0.7408 MB / 1.177 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0005903/0.03009, allocations: 373.2 kB / 1.177 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.001014/0.0311, allocations: 0.7801 MB / 1.178 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002181/0.03328, allocations: 1.415 MB / 1.179 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002006/0.03529, allocations: 1.917 MB / 1.181 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001902/0.03719, allocations: 1.138 MB / 1.182 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.003082/0.04027, allocations: 2.786 MB / 1.185 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.0001407/0.04041, allocations: 62.33 kB / 1.185 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0004044/0.04082, allocations: 439 kB / 1.185 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.003633/0.04445, allocations: 2.342 MB / 1.188 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 5.411e-05/0.04451, allocations: 76.53 kB / 1.188 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.463e-06/0.04451, allocations: 0 / 1.188 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.797e-05/0.04452, allocations: 1 kB / 1.188 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.963e-05/0.04454, allocations: 48.25 kB / 1.188 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.679e-05/0.04457, allocations: 3.406 kB / 1.188 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001405/0.04598, allocations: 0.8635 MB / 1.189 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.459e-05/0.04599, allocations: 4 kB / 1.189 GB, free: 5.699 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 15 (15) {faiSafCoo.timSecSet.passed, faiSafCoo.timSecSet.entryTime, faiSafCoo.timSecPri.passed, faiSafCoo.timSecPri.entryTime, faiSafCoo.timPriSet.passed, faiSafCoo.timPriSet.entryTime, faiSafCooPri.timPriSet.passed, faiSafCooPri.timPriSet.entryTime, faiSafHea.reset, faiSafHea.timSecSet.passed, faiSafHea.timSecSet.entryTime, faiSafHea.timSecPri.passed, faiSafHea.timSecPri.entryTime, faiSafHea.timPriSet.passed, faiSafHea.timPriSet.entryTime} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 51 (51) {faiSafHea.lesPriSet.lesHys.y, faiSafHea.lesSecPri.lesHys.y, faiSafHea.timPriSet.u, faiSafHea.timSecPri.u, faiSafHea.any.u2, faiSafHea.y1, faiSafHea.lesSecSet.lesHys.y, faiSafHea.timSecSet.u, faiSafCooPri.lesPriSet.lesHys.y, faiSafCooPri.timPriSet.u, faiSafCooPri.y1, faiSafCoo.lesPriSet.lesHys.y, faiSafCoo.lesSecPri.lesHys.y, faiSafCoo.timPriSet.u, faiSafCoo.timSecPri.u, faiSafCoo.any.u2, faiSafCoo.y1, faiSafCoo.lesSecSet.lesHys.y, faiSafCoo.timSecSet.u, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:76, array:0, record:0) * Number of multi strong components: ............ 15 (algorithm:0, when:15, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 151 (scalar:151, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002446/0.04624, allocations: 85.38 kB / 1.189 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of SimCode: time 0.005272/0.05151, allocations: 2.461 MB / 1.191 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of Templates: time 0.02225/0.07376, allocations: 7.245 MB / 1.198 GB, free: 3.742 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_FailsafeCondition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,faiSafHea.TSupSet,faiSafHea.TPriSup,faiSafHea.TSecSup,faiSafHea.reset,faiSafHea.y1,faiSafCoo.TSupSet,faiSafCoo.TPriSup,faiSafCoo.TSecSup,faiSafCoo.reset,faiSafCoo.y1,faiSafCooPri.TSupSet,faiSafCooPri.TPriSup,faiSafCooPri.reset,faiSafCooPri.y1 Variables in the result:TChiWatPriSup.amplitude,TChiWatPriSup.freqHz,TChiWatPriSup.offset,TChiWatPriSup.phase,TChiWatPriSup.startTime,TChiWatSecSup.amplitude,TChiWatSecSup.freqHz,TChiWatSecSup.offset,TChiWatSecSup.phase,TChiWatSecSup.startTime,TChiWatSecSup.y,TChiWatSupSet.k,TChiWatSupSet.y,THeaWatPriSup.amplitude,THeaWatPriSup.freqHz,THeaWatPriSup.offset,THeaWatPriSup.phase,THeaWatPriSup.startTime,THeaWatPriSup.y,THeaWatSecSup.amplitude,THeaWatSecSup.freqHz,THeaWatSecSup.offset,THeaWatSecSup.phase,THeaWatSecSup.startTime,THeaWatSecSup.y,THeaWatSupSet.k,THeaWatSupSet.y,booPul.period,booPul.shift,booPul.t0,booPul.t1,booPul.width,faiSafCoo.TPriSup,faiSafCoo.TSecSup,faiSafCoo.TSupSet,faiSafCoo.dT,faiSafCoo.dTPriSet.u2,faiSafCoo.dTSecSet.u2,faiSafCoo.dtPri,faiSafCoo.dtSec,faiSafCoo.have_pumSec,faiSafCoo.lesPriSet.h,faiSafCoo.lesPriSet.have_hysteresis,faiSafCoo.lesPriSet.lesHys.h,faiSafCoo.lesPriSet.lesHys.pre_y_start,faiSafCoo.lesPriSet.lesHys.t,faiSafCoo.lesPriSet.pre_y_start,faiSafCoo.lesPriSet.t,faiSafCoo.lesSecPri.h,faiSafCoo.lesSecPri.have_hysteresis,faiSafCoo.lesSecPri.lesHys.h,faiSafCoo.lesSecPri.lesHys.pre_y_start,faiSafCoo.lesSecPri.lesHys.t,faiSafCoo.lesSecPri.pre_y_start,faiSafCoo.lesSecPri.t,faiSafCoo.lesSecSet.h,faiSafCoo.lesSecSet.have_hysteresis,faiSafCoo.lesSecSet.lesHys.h,faiSafCoo.lesSecSet.lesHys.pre_y_start,faiSafCoo.lesSecSet.lesHys.t,faiSafCoo.lesSecSet.pre_y_start,faiSafCoo.lesSecSet.t,faiSafCoo.ph.have_inp,faiSafCoo.ph.have_inpPh,faiSafCoo.ph.u_internal,faiSafCoo.polHeaCoo.k,faiSafCoo.polHeaCoo1.k,faiSafCoo.polHeaCoo2.k,faiSafCoo.reset,faiSafCoo.timPriSet.t,faiSafCoo.timSecPri.t,faiSafCoo.timSecSet.t,faiSafCoo.typ,faiSafCoo.y1,faiSafCooPri.TPriSup,faiSafCooPri.TSupSet,faiSafCooPri.any.u2,faiSafCooPri.dT,faiSafCooPri.dTPriSet.u2,faiSafCooPri.dtPri,faiSafCooPri.dtSec,faiSafCooPri.have_pumSec,faiSafCooPri.lesPriSet.h,faiSafCooPri.lesPriSet.have_hysteresis,faiSafCooPri.lesPriSet.lesHys.h,faiSafCooPri.lesPriSet.lesHys.pre_y_start,faiSafCooPri.lesPriSet.lesHys.t,faiSafCooPri.lesPriSet.pre_y_start,faiSafCooPri.lesPriSet.t,faiSafCooPri.ph.have_inp,faiSafCooPri.ph.have_inpPh,faiSafCooPri.ph.ph.k,faiSafCooPri.ph.ph.y,faiSafCooPri.ph.u_internal,faiSafCooPri.ph.y,faiSafCooPri.polHeaCoo.k,faiSafCooPri.reset,faiSafCooPri.timPriSet.t,faiSafCooPri.typ,faiSafCooPri.y1,faiSafHea.TPriSup,faiSafHea.TSecSup,faiSafHea.TSupSet,faiSafHea.dT,faiSafHea.dTPriSet.u2,faiSafHea.dTSecSet.u2,faiSafHea.dtPri,faiSafHea.dtSec,faiSafHea.have_pumSec,faiSafHea.lesPriSet.h,faiSafHea.lesPriSet.have_hysteresis,faiSafHea.lesPriSet.lesHys.h,faiSafHea.lesPriSet.lesHys.pre_y_start,faiSafHea.lesPriSet.lesHys.t,faiSafHea.lesPriSet.pre_y_start,faiSafHea.lesPriSet.t,faiSafHea.lesSecPri.h,faiSafHea.lesSecPri.have_hysteresis,faiSafHea.lesSecPri.lesHys.h,faiSafHea.lesSecPri.lesHys.pre_y_start,faiSafHea.lesSecPri.lesHys.t,faiSafHea.lesSecPri.pre_y_start,faiSafHea.lesSecPri.t,faiSafHea.lesSecSet.h,faiSafHea.lesSecSet.have_hysteresis,faiSafHea.lesSecSet.lesHys.h,faiSafHea.lesSecSet.lesHys.pre_y_start,faiSafHea.lesSecSet.lesHys.t,faiSafHea.lesSecSet.pre_y_start,faiSafHea.lesSecSet.t,faiSafHea.ph.have_inp,faiSafHea.ph.have_inpPh,faiSafHea.ph.u_internal,faiSafHea.polHeaCoo.k,faiSafHea.polHeaCoo1.k,faiSafHea.polHeaCoo2.k,faiSafHea.reset,faiSafHea.timPriSet.t,faiSafHea.timSecPri.t,faiSafHea.timSecSet.t,faiSafHea.typ,faiSafHea.y1,time [Calling sys.exit(0), Time elapsed: 9.45301378518343]