Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 190.1 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.887/2.887, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation")
translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 66.7 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3231, allocations: 174.8 MB / 1.316 GB, free: 9.766 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007944/0.3311, allocations: 5.694 MB / 1.322 GB, free: 4.047 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1667/0.4978, allocations: 151.5 MB / 1.469 GB, free: 11.98 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.499, allocations: 35.69 kB / 1.47 GB, free: 11.94 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.001176/0.5001, allocations: 377.4 kB / 1.47 GB, free: 11.57 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002169/0.5023, allocations: 0.5665 MB / 1.47 GB, free: 11 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.5046, allocations: 0.8977 MB / 1.471 GB, free: 10.11 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.002099/0.5067, allocations: 1.558 MB / 1.473 GB, free: 8.551 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008521/0.5075, allocations: 0.5107 MB / 1.473 GB, free: 7.996 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006897/0.5082, allocations: 0.5527 MB / 1.474 GB, free: 7.441 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.5088, allocations: 0.5637 MB / 1.474 GB, free: 6.875 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.509, allocations: 132 kB / 1.475 GB, free: 6.746 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009075/0.5099, allocations: 0.5073 MB / 1.475 GB, free: 6.238 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.5102, allocations: 334.9 kB / 1.475 GB, free: 5.91 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.5108, allocations: 0.6566 MB / 1.476 GB, free: 5.25 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002211/0.513, allocations: 1.93 MB / 1.478 GB, free: 3.312 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.513, allocations: 0 / 1.478 GB, free: 3.312 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.052e-06/0.513, allocations: 0 / 1.478 GB, free: 3.312 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.438e-05/0.513, allocations: 0 / 1.478 GB, free: 3.312 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.002692/0.5157, allocations: 1.64 MB / 1.479 GB, free: 1.637 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5158, allocations: 12.03 kB / 1.479 GB, free: 1.625 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009153/0.5167, allocations: 231.8 kB / 1.48 GB, free: 1.398 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.518, allocations: 0.8348 MB / 1.481 GB, free: 0.5391 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.5181, allocations: 70 kB / 1.481 GB, free: 484 kB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.5182, allocations: 99.98 kB / 1.481 GB, free: 384 kB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.52, allocations: 1.032 MB / 1.482 GB, free: 15.3 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.52, allocations: 3.938 kB / 1.482 GB, free: 15.3 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/0.5201, allocations: 47.98 kB / 1.482 GB, free: 15.25 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5201, allocations: 28 kB / 1.482 GB, free: 15.22 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.522, allocations: 1.163 MB / 1.483 GB, free: 14.06 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.5263, allocations: 3.013 MB / 1.486 GB, free: 10.91 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.5277, allocations: 0.7455 MB / 1.487 GB, free: 10.16 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.5282, allocations: 274.7 kB / 1.487 GB, free: 9.887 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.415e-05/0.5283, allocations: 32.61 kB / 1.487 GB, free: 9.855 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008462/0.5291, allocations: 492.8 kB / 1.487 GB, free: 9.355 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.5291, allocations: 0 / 1.487 GB, free: 9.355 MB / 1.186 GB
Notification: Performance of matching and sorting (n=78): time 0.003007/0.5321, allocations: 1.138 MB / 1.488 GB, free: 8.211 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5323, allocations: 192.6 kB / 1.489 GB, free: 7.98 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.5332, allocations: 0.7951 MB / 1.489 GB, free: 7.16 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.5333, allocations: 45.7 kB / 1.489 GB, free: 7.109 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5337, allocations: 0.5087 MB / 1.49 GB, free: 6.594 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.5339, allocations: 265.8 kB / 1.49 GB, free: 6.332 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.5341, allocations: 158.6 kB / 1.49 GB, free: 6.172 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001433/0.5343, allocations: 341.9 kB / 1.491 GB, free: 5.832 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.5348, allocations: 269.9 kB / 1.491 GB, free: 5.566 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.5354, allocations: 363 kB / 1.491 GB, free: 5.203 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5365, allocations: 0.6111 MB / 1.492 GB, free: 4.578 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5365, allocations: 0 / 1.492 GB, free: 4.578 MB / 1.186 GB
Notification: Performance of matching and sorting (n=94) (initialization): time 0.001901/0.5384, allocations: 0.8608 MB / 1.493 GB, free: 3.707 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5384, allocations: 7.984 kB / 1.493 GB, free: 3.699 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5385, allocations: 0 / 1.493 GB, free: 3.699 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.539, allocations: 84.81 kB / 1.493 GB, free: 3.613 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.5397, allocations: 155.7 kB / 1.493 GB, free: 3.461 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.5417, allocations: 1.543 MB / 1.494 GB, free: 1.797 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.5424, allocations: 99.55 kB / 1.495 GB, free: 1.699 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.5425, allocations: 35.98 kB / 1.495 GB, free: 1.664 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (92):
 * Single equations (assignments): 91
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004355/0.5429, allocations: 291.4 kB / 1.495 GB, free: 1.367 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5431, allocations: 111.2 kB / 1.495 GB, free: 1.258 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.5454, allocations: 1.075 MB / 1.496 GB, free: 180 kB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5454, allocations: 12 kB / 1.496 GB, free: 168 kB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5454, allocations: 3.938 kB / 1.496 GB, free: 164 kB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.5454, allocations: 7.984 kB / 1.496 GB, free: 156 kB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5465, allocations: 0.9729 MB / 1.497 GB, free: 15.13 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5465, allocations: 7.938 kB / 1.497 GB, free: 15.12 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.5471, allocations: 143.8 kB / 1.497 GB, free: 14.98 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.5475, allocations: 72.78 kB / 1.497 GB, free: 14.91 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.5476, allocations: 23.98 kB / 1.497 GB, free: 14.89 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.5494, allocations: 1.562 MB / 1.499 GB, free: 13.2 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5494, allocations: 4.062 kB / 1.499 GB, free: 13.2 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.5513, allocations: 0.9478 MB / 1.5 GB, free: 12.23 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5517, allocations: 218.9 kB / 1.5 GB, free: 12.01 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5519, allocations: 16 kB / 1.5 GB, free: 12 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.5524, allocations: 63.92 kB / 1.5 GB, free: 11.93 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5526, allocations: 72.8 kB / 1.5 GB, free: 11.86 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5526, allocations: 39.98 kB / 1.5 GB, free: 11.82 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0006775/0.5533, allocations: 0.5542 MB / 1.501 GB, free: 11.26 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.5533, allocations: 0 / 1.501 GB, free: 11.26 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.0007867/0.5541, allocations: 355 kB / 1.501 GB, free: 10.91 MB / 1.201 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (89):
 * Single equations (assignments): 83
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/0.5559, allocations: 0.5966 MB / 1.502 GB, free: 10.48 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.001584/0.5575, allocations: 0.7999 MB / 1.502 GB, free: 9.672 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5575, allocations: 4 kB / 1.502 GB, free: 9.668 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.5584, allocations: 496.4 kB / 1.503 GB, free: 9.176 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.56, allocations: 483.7 kB / 1.503 GB, free: 8.742 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.5632, allocations: 1.95 MB / 1.505 GB, free: 6.762 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.5639, allocations: 1.102 MB / 1.506 GB, free: 5.633 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0007451/0.5646, allocations: 279.7 kB / 1.507 GB, free: 5.355 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.5649, allocations: 111.4 kB / 1.507 GB, free: 5.246 MB / 1.201 GB
Notification: Performance of SimCode: time 4.21e-07/0.5649, allocations: 0 / 1.507 GB, free: 5.246 MB / 1.201 GB
Notification: Performance of Templates: time 0.03046/0.5953, allocations: 18.1 MB / 1.524 GB, free: 3.309 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.647818903438747]