Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001596/0.001596, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.0018/0.0018, allocations: 189.3 kB / 22.11 MB, free: 4.633 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.441/1.441, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 495.8 MB / 0.783 GB, free: 33.42 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 69 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3435, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007875/0.3514, allocations: 5.662 MB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1802/0.5316, allocations: 149.9 MB / 1.459 GB, free: 5.754 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.5326, allocations: 35.69 kB / 1.459 GB, free: 5.719 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.5335, allocations: 373.4 kB / 1.459 GB, free: 5.352 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.001742/0.5352, allocations: 0.5626 MB / 1.46 GB, free: 4.789 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.5373, allocations: 0.8866 MB / 1.46 GB, free: 3.906 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001835/0.5391, allocations: 1.562 MB / 1.462 GB, free: 2.34 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008839/0.54, allocations: 0.5145 MB / 1.462 GB, free: 1.785 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.5408, allocations: 0.5527 MB / 1.463 GB, free: 1.23 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.5414, allocations: 0.5676 MB / 1.464 GB, free: 0.6602 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.5416, allocations: 135.9 kB / 1.464 GB, free: 0.5273 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009311/0.5425, allocations: 487.7 kB / 1.464 GB, free: 52 kB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.5429, allocations: 342.8 kB / 1.464 GB, free: 15.71 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.5436, allocations: 0.6566 MB / 1.465 GB, free: 15.05 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002261/0.5458, allocations: 1.914 MB / 1.467 GB, free: 13.13 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5458, allocations: 3.938 kB / 1.467 GB, free: 13.13 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.5458, allocations: 0 / 1.467 GB, free: 13.13 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.698e-05/0.5459, allocations: 0 / 1.467 GB, free: 13.13 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.00282/0.5487, allocations: 1.644 MB / 1.469 GB, free: 11.45 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5487, allocations: 12.03 kB / 1.469 GB, free: 11.44 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.5497, allocations: 223.8 kB / 1.469 GB, free: 11.22 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.5511, allocations: 0.831 MB / 1.47 GB, free: 10.36 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.5512, allocations: 74 kB / 1.47 GB, free: 10.29 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5513, allocations: 96 kB / 1.47 GB, free: 10.2 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5532, allocations: 1.035 MB / 1.471 GB, free: 9.121 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.5532, allocations: 0 / 1.471 GB, free: 9.121 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5533, allocations: 44 kB / 1.471 GB, free: 9.078 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.5534, allocations: 24 kB / 1.471 GB, free: 9.055 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.5554, allocations: 1.171 MB / 1.472 GB, free: 7.887 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/0.5604, allocations: 2.982 MB / 1.475 GB, free: 4.773 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.562, allocations: 0.761 MB / 1.476 GB, free: 4 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.5626, allocations: 270.7 kB / 1.476 GB, free: 3.73 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.847e-05/0.5627, allocations: 32.61 kB / 1.476 GB, free: 3.699 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.5636, allocations: 496.7 kB / 1.476 GB, free: 3.195 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=78): time 2.675e-06/0.5636, allocations: 0 / 1.476 GB, free: 3.195 MB / 1.17 GB
Notification: Performance of matching and sorting (n=78): time 0.003471/0.5671, allocations: 1.134 MB / 1.478 GB, free: 2.055 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.5672, allocations: 192.6 kB / 1.478 GB, free: 1.824 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.5684, allocations: 0.7951 MB / 1.478 GB, free: 1.004 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.5685, allocations: 41.7 kB / 1.479 GB, free: 0.957 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.569, allocations: 0.5125 MB / 1.479 GB, free: 448 kB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.5693, allocations: 265.8 kB / 1.479 GB, free: 180 kB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.5695, allocations: 166.5 kB / 1.479 GB, free: 4 kB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001819/0.5697, allocations: 337.9 kB / 1.48 GB, free: 15.67 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.5703, allocations: 273.8 kB / 1.48 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/0.571, allocations: 359.1 kB / 1.48 GB, free: 15.04 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5722, allocations: 0.5994 MB / 1.481 GB, free: 14.43 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.5722, allocations: 4.062 kB / 1.481 GB, free: 14.42 MB / 1.186 GB
Notification: Performance of matching and sorting (n=94) (initialization): time 0.002171/0.5743, allocations: 0.8647 MB / 1.482 GB, free: 13.55 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5744, allocations: 4 kB / 1.482 GB, free: 13.54 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5744, allocations: 3.938 kB / 1.482 GB, free: 13.54 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.575, allocations: 92.73 kB / 1.482 GB, free: 13.45 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.5757, allocations: 155.8 kB / 1.482 GB, free: 13.29 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.5781, allocations: 1.544 MB / 1.484 GB, free: 11.63 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.5789, allocations: 92.52 kB / 1.484 GB, free: 11.54 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.579, allocations: 35.97 kB / 1.484 GB, free: 11.5 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.000539/0.5795, allocations: 291.3 kB / 1.484 GB, free: 11.21 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.5797, allocations: 115.3 kB / 1.484 GB, free: 11.09 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.5822, allocations: 1.067 MB / 1.485 GB, free: 10.02 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.5822, allocations: 8 kB / 1.485 GB, free: 10.01 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5822, allocations: 7.875 kB / 1.485 GB, free: 10 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5823, allocations: 4.031 kB / 1.485 GB, free: 9.996 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.5836, allocations: 0.9887 MB / 1.486 GB, free: 8.965 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5836, allocations: 0 / 1.486 GB, free: 8.965 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.5841, allocations: 139.8 kB / 1.486 GB, free: 8.828 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.5846, allocations: 64.8 kB / 1.486 GB, free: 8.762 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.5847, allocations: 31.97 kB / 1.486 GB, free: 8.73 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.5868, allocations: 1.562 MB / 1.488 GB, free: 7.043 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5868, allocations: 0 / 1.488 GB, free: 7.043 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.589, allocations: 0.9555 MB / 1.489 GB, free: 6.066 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/0.5894, allocations: 222.9 kB / 1.489 GB, free: 5.848 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5895, allocations: 16 kB / 1.489 GB, free: 5.832 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.5902, allocations: 63.92 kB / 1.489 GB, free: 5.77 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.5904, allocations: 68.81 kB / 1.489 GB, free: 5.703 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/0.5904, allocations: 43.91 kB / 1.489 GB, free: 5.66 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0008839/0.5913, allocations: 0.5581 MB / 1.49 GB, free: 5.09 MB / 1.186 GB
Notification: Performance of sort global known variables: time 9e-08/0.5913, allocations: 0 / 1.49 GB, free: 5.09 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001182/0.5925, allocations: 351 kB / 1.49 GB, free: 4.746 MB / 1.186 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.00228/0.5948, allocations: 0.6039 MB / 1.491 GB, free: 4.316 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002112/0.5969, allocations: 0.7961 MB / 1.491 GB, free: 3.508 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.5969, allocations: 4 kB / 1.491 GB, free: 3.504 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001099/0.598, allocations: 0.4886 MB / 1.492 GB, free: 3.004 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.6, allocations: 474.3 kB / 1.492 GB, free: 2.574 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.6038, allocations: 1.946 MB / 1.494 GB, free: 0.5977 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.6047, allocations: 1.1 MB / 1.495 GB, free: 15.47 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008954/0.6056, allocations: 287.6 kB / 1.496 GB, free: 15.19 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.6059, allocations: 111.4 kB / 1.496 GB, free: 15.08 MB / 1.201 GB
Notification: Performance of SimCode: time 1.022e-06/0.6059, allocations: 3.938 kB / 1.496 GB, free: 15.07 MB / 1.201 GB
Notification: Performance of Templates: time 0.03887/0.6447, allocations: 18.1 MB / 1.513 GB, free: 13.15 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.812064096331596]