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.001378/0.001378, allocations: 81.34 kB / 19.18 MB, free: 2.527 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.001566/0.001566, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.945/2.945, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] 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.833e-06/1.833e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.371e-05, allocations: 9.734 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007827/0.007861, allocations: 5.078 MB / 1.005 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.7281/0.736, allocations: 133 MB / 1.135 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.7372, allocations: 36.97 kB / 1.135 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.738, allocations: 380.3 kB / 1.135 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.7397, allocations: 0.5932 MB / 1.136 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.7415, allocations: 0.921 MB / 1.137 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.743, allocations: 1.648 MB / 1.138 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.7437, allocations: 492.7 kB / 1.139 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009279/0.7446, allocations: 0.8331 MB / 1.14 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.7452, allocations: 456.6 kB / 1.14 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.7453, allocations: 140.5 kB / 1.14 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008961/0.7462, allocations: 0.5095 MB / 1.141 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.7465, allocations: 357.7 kB / 1.141 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.7469, allocations: 440.9 kB / 1.142 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.7488, allocations: 2.088 MB / 1.144 GB, free: 44.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7489, allocations: 2.906 kB / 1.144 GB, free: 44.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7489, allocations: 0 / 1.144 GB, free: 44.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.7489, allocations: 1.094 kB / 1.144 GB, free: 44.83 MB / 1.076 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.002437/0.7513, allocations: 1.686 MB / 1.145 GB, free: 43.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.7513, allocations: 8.75 kB / 1.145 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.7528, allocations: 273.4 kB / 1.146 GB, free: 43.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.754, allocations: 0.8454 MB / 1.146 GB, free: 43.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.7541, allocations: 81.81 kB / 1.146 GB, free: 43.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.7542, allocations: 107.8 kB / 1.147 GB, free: 43.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.7558, allocations: 1.304 MB / 1.148 GB, free: 43.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.7558, allocations: 1.594 kB / 1.148 GB, free: 43.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.7559, allocations: 48.88 kB / 1.148 GB, free: 43.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.756, allocations: 24.16 kB / 1.148 GB, free: 43.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.7576, allocations: 1.129 MB / 1.149 GB, free: 43.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.7614, allocations: 2.488 MB / 1.151 GB, free: 42.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.7627, allocations: 0.7921 MB / 1.152 GB, free: 42.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.7632, allocations: 296.1 kB / 1.152 GB, free: 42.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.7633, allocations: 24.12 kB / 1.152 GB, free: 42.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007879/0.7641, allocations: 0.5994 MB / 1.153 GB, free: 42.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=86): time 2.434e-06/0.7641, allocations: 0 / 1.153 GB, free: 42.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=86): time 0.002989/0.7671, allocations: 1.185 MB / 1.154 GB, free: 41.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.7671, allocations: 203.6 kB / 1.154 GB, free: 41.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.768, allocations: 0.7595 MB / 1.155 GB, free: 41.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.7681, allocations: 46.8 kB / 1.155 GB, free: 41.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.7684, allocations: 0.5176 MB / 1.156 GB, free: 41.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.7686, allocations: 289.7 kB / 1.156 GB, free: 41.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.7688, allocations: 175.2 kB / 1.156 GB, free: 41.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.7689, allocations: 339.2 kB / 1.156 GB, free: 40.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.7694, allocations: 296.2 kB / 1.157 GB, free: 40.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.7701, allocations: 0.5062 MB / 1.157 GB, free: 40.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.7711, allocations: 0.6455 MB / 1.158 GB, free: 40.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7711, allocations: 2.562 kB / 1.158 GB, free: 40.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001895/0.773, allocations: 0.9381 MB / 1.159 GB, free: 40.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.773, allocations: 9.016 kB / 1.159 GB, free: 40.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.773, allocations: 0.6562 kB / 1.159 GB, free: 40.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.7736, allocations: 84.23 kB / 1.159 GB, free: 40.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.7743, allocations: 164.6 kB / 1.159 GB, free: 40.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.776, allocations: 1.517 MB / 1.161 GB, free: 39.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.7767, allocations: 96.31 kB / 1.161 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.7768, allocations: 38.72 kB / 1.161 GB, free: 39.22 MB / 1.076 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.0004406/0.7772, allocations: 302 kB / 1.161 GB, free: 39.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.7773, allocations: 103.9 kB / 1.161 GB, free: 39.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.7795, allocations: 1.094 MB / 1.162 GB, free: 38.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.7795, allocations: 10.59 kB / 1.162 GB, free: 38.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.7795, allocations: 0 / 1.162 GB, free: 38.94 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7795, allocations: 6.766 kB / 1.162 GB, free: 38.94 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.7825, allocations: 1.993 MB / 1.164 GB, free: 38.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7825, allocations: 0 / 1.164 GB, free: 38.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.7831, allocations: 147.8 kB / 1.164 GB, free: 38.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.7835, allocations: 71.73 kB / 1.164 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.7835, allocations: 28.44 kB / 1.164 GB, free: 38.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.785, allocations: 1.541 MB / 1.166 GB, free: 37.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.785, allocations: 0 / 1.166 GB, free: 37.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7869, allocations: 1.046 MB / 1.167 GB, free: 37.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.7872, allocations: 214 kB / 1.167 GB, free: 37.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.7874, allocations: 29.69 kB / 1.167 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.788, allocations: 64.12 kB / 1.167 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7882, allocations: 79.27 kB / 1.167 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.7882, allocations: 31.91 kB / 1.167 GB, free: 37.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006924/0.7889, allocations: 0.5284 MB / 1.168 GB, free: 36.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7889, allocations: 0 / 1.168 GB, free: 36.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001171/0.7901, allocations: 363 kB / 1.168 GB, free: 36.87 MB / 1.076 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.002122/0.7922, allocations: 0.6487 MB / 1.169 GB, free: 36.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.7942, allocations: 0.8405 MB / 1.17 GB, free: 36.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7942, allocations: 1.875 kB / 1.17 GB, free: 36.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000894/0.7951, allocations: 0.497 MB / 1.17 GB, free: 36.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7969, allocations: 460.7 kB / 1.17 GB, free: 36.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.8003, allocations: 1.981 MB / 1.172 GB, free: 35.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.8009, allocations: 0.5144 MB / 1.173 GB, free: 35.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008149/0.8017, allocations: 289.5 kB / 1.173 GB, free: 35.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.802, allocations: 116.2 kB / 1.173 GB, free: 35.39 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.802, allocations: 0 / 1.173 GB, free: 35.39 MB / 1.076 GB Notification: Performance of Templates: time 0.03297/0.835, allocations: 18.04 MB / 1.191 GB, free: 33.18 MB / 1.076 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.539728250354528]