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.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.0008441/0.0008441, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008274/0.0008274, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8801/0.8801, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.773/1.773, allocations: 389.1 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.082e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004816/0.004836, allocations: 5.059 MB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5607/0.5655, allocations: 133 MB / 1.136 GB, free: 14.41 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008132/0.5663, allocations: 34.09 kB / 1.136 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.567, allocations: 376.4 kB / 1.136 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.5682, allocations: 0.6061 MB / 1.137 GB, free: 13.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.5696, allocations: 0.9153 MB / 1.138 GB, free: 13.31 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.571, allocations: 1.648 MB / 1.139 GB, free: 12.42 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.5715, allocations: 488.6 kB / 1.14 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.5722, allocations: 0.8381 MB / 1.14 GB, free: 11.74 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.5726, allocations: 445.5 kB / 1.141 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.5728, allocations: 147.6 kB / 1.141 GB, free: 11.56 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.5733, allocations: 0.5037 MB / 1.142 GB, free: 11.46 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.5735, allocations: 363.1 kB / 1.142 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.5739, allocations: 443.8 kB / 1.142 GB, free: 10.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.5756, allocations: 2.08 MB / 1.144 GB, free: 10.12 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5756, allocations: 1.062 kB / 1.144 GB, free: 10.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5756, allocations: 4 kB / 1.144 GB, free: 10.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.5756, allocations: 0 / 1.144 GB, free: 10.12 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.001838/0.5775, allocations: 1.69 MB / 1.146 GB, free: 9.012 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5775, allocations: 10.06 kB / 1.146 GB, free: 9.012 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000782/0.5783, allocations: 269.2 kB / 1.146 GB, free: 8.922 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5793, allocations: 0.8502 MB / 1.147 GB, free: 8.402 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.5794, allocations: 77.77 kB / 1.147 GB, free: 8.367 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.5795, allocations: 109.1 kB / 1.147 GB, free: 8.328 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5808, allocations: 1.302 MB / 1.149 GB, free: 7.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5808, allocations: 13.17 kB / 1.149 GB, free: 7.508 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.5809, allocations: 43.33 kB / 1.149 GB, free: 7.477 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5809, allocations: 24.88 kB / 1.149 GB, free: 7.477 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5822, allocations: 1.126 MB / 1.15 GB, free: 7.195 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.5851, allocations: 2.482 MB / 1.152 GB, free: 5.758 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5862, allocations: 0.7931 MB / 1.153 GB, free: 5.449 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.5865, allocations: 293.3 kB / 1.153 GB, free: 5.336 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.5866, allocations: 23.59 kB / 1.153 GB, free: 5.332 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.5875, allocations: 0.6066 MB / 1.154 GB, free: 4.996 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 3.025e-06/0.5875, allocations: 5.5 kB / 1.154 GB, free: 4.992 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001915/0.5894, allocations: 1.176 MB / 1.155 GB, free: 4.555 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5895, allocations: 204.4 kB / 1.155 GB, free: 4.328 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/0.5902, allocations: 0.7587 MB / 1.156 GB, free: 4.008 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.5903, allocations: 49.48 kB / 1.156 GB, free: 3.961 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.5906, allocations: 0.516 MB / 1.156 GB, free: 3.555 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5907, allocations: 290.2 kB / 1.157 GB, free: 3.324 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.5909, allocations: 174.6 kB / 1.157 GB, free: 3.246 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.591, allocations: 340.3 kB / 1.157 GB, free: 2.926 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.5914, allocations: 288.6 kB / 1.158 GB, free: 2.824 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.5919, allocations: 0.5129 MB / 1.158 GB, free: 2.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.5927, allocations: 0.6518 MB / 1.159 GB, free: 2.195 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5927, allocations: 0 / 1.159 GB, free: 2.195 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001332/0.594, allocations: 0.937 MB / 1.16 GB, free: 1.812 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.594, allocations: 6.484 kB / 1.16 GB, free: 1.812 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.594, allocations: 1.344 kB / 1.16 GB, free: 1.812 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.5944, allocations: 86.95 kB / 1.16 GB, free: 1.793 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.5948, allocations: 162 kB / 1.16 GB, free: 1.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.5961, allocations: 1.511 MB / 1.161 GB, free: 412 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.5965, allocations: 99.33 kB / 1.161 GB, free: 360 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.5966, allocations: 39.48 kB / 1.161 GB, free: 352 kB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0003201/0.5969, allocations: 295.2 kB / 1.162 GB, free: 136 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.597, allocations: 106.6 kB / 1.162 GB, free: 76 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.5986, allocations: 1.095 MB / 1.163 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5986, allocations: 10.31 kB / 1.163 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5986, allocations: 0.7031 kB / 1.163 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.5986, allocations: 4.219 kB / 1.163 GB, free: 15.63 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.601, allocations: 2.004 MB / 1.165 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.601, allocations: 0 / 1.165 GB, free: 14.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.6013, allocations: 145.5 kB / 1.165 GB, free: 14.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.6015, allocations: 70.5 kB / 1.165 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.6015, allocations: 29.72 kB / 1.165 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.6029, allocations: 1.538 MB / 1.167 GB, free: 13.22 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6029, allocations: 2.906 kB / 1.167 GB, free: 13.22 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6041, allocations: 1.048 MB / 1.168 GB, free: 12.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.6044, allocations: 212.8 kB / 1.168 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.6045, allocations: 24.67 kB / 1.168 GB, free: 12.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.6048, allocations: 61.23 kB / 1.168 GB, free: 12.59 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6049, allocations: 72.92 kB / 1.168 GB, free: 12.58 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.605, allocations: 35.84 kB / 1.168 GB, free: 12.57 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005059/0.6055, allocations: 0.5306 MB / 1.169 GB, free: 12.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.6055, allocations: 0 / 1.169 GB, free: 12.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007407/0.6062, allocations: 365.5 kB / 1.169 GB, free: 12.24 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001043/0.6073, allocations: 0.6567 MB / 1.169 GB, free: 11.97 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.6084, allocations: 0.8396 MB / 1.17 GB, free: 11.62 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6084, allocations: 1.156 kB / 1.17 GB, free: 11.62 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.609, allocations: 0.4997 MB / 1.171 GB, free: 11.38 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.61, allocations: 452.8 kB / 1.171 GB, free: 11.25 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.6123, allocations: 2.034 MB / 1.173 GB, free: 10.17 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.6128, allocations: 0.514 MB / 1.174 GB, free: 10.03 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.613, allocations: 132.4 kB / 1.174 GB, free: 10 MB / 1.026 GB Notification: Performance of SimCode: time 9.22e-07/0.613, allocations: 0 / 1.174 GB, free: 10 MB / 1.026 GB Notification: Performance of Templates: time 0.0189/0.6319, allocations: 23.16 MB / 1.196 GB, free: 0.8984 MB / 1.026 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: 9.584259059280157]