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.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.001819/0.001819, allocations: 111 kB / 16.46 MB, free: 6.453 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.002012/0.002012, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.237/3.237, allocations: 0.4899 GB / 0.7916 GB, free: 33.59 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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 79.56 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008614/0.3418, allocations: 5.69 MB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.5331, allocations: 154.3 MB / 1.477 GB, free: 2.285 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.5345, allocations: 35.69 kB / 1.477 GB, free: 2.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.5355, allocations: 369.3 kB / 1.478 GB, free: 1.887 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5375, allocations: 0.5924 MB / 1.478 GB, free: 1.297 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.5399, allocations: 0.8921 MB / 1.479 GB, free: 420 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0021/0.542, allocations: 1.57 MB / 1.481 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009304/0.5429, allocations: 0.5178 MB / 1.481 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007796/0.5437, allocations: 0.5682 MB / 1.482 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.5444, allocations: 0.5754 MB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.5446, allocations: 132 kB / 1.483 GB, free: 13.01 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.5456, allocations: 0.5347 MB / 1.483 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.546, allocations: 330.8 kB / 1.483 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.5466, allocations: 0.6721 MB / 1.484 GB, free: 11.47 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.549, allocations: 1.969 MB / 1.486 GB, free: 9.496 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.549, allocations: 0 / 1.486 GB, free: 9.496 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.263e-06/0.549, allocations: 0 / 1.486 GB, free: 9.496 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.5491, allocations: 4 kB / 1.486 GB, free: 9.492 MB / 1.186 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.002926/0.552, allocations: 1.754 MB / 1.488 GB, free: 7.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.552, allocations: 11.98 kB / 1.488 GB, free: 7.668 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.5535, allocations: 263.8 kB / 1.488 GB, free: 7.41 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.555, allocations: 0.9342 MB / 1.489 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.5551, allocations: 77.98 kB / 1.489 GB, free: 6.359 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5552, allocations: 96 kB / 1.489 GB, free: 6.266 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5571, allocations: 1.035 MB / 1.49 GB, free: 5.188 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5571, allocations: 0 / 1.49 GB, free: 5.188 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.5572, allocations: 40 kB / 1.49 GB, free: 5.148 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.5572, allocations: 31.94 kB / 1.49 GB, free: 5.117 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.5592, allocations: 1.167 MB / 1.491 GB, free: 3.949 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.5639, allocations: 3.067 MB / 1.494 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5655, allocations: 0.7474 MB / 1.495 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.566, allocations: 282.6 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.5661, allocations: 40.45 kB / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009141/0.567, allocations: 495.8 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=78): time 2.375e-06/0.567, allocations: 0 / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=78): time 0.003355/0.5704, allocations: 1.21 MB / 1.497 GB, free: 13.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.5705, allocations: 196.6 kB / 1.497 GB, free: 13.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.5717, allocations: 0.8146 MB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.5718, allocations: 41.7 kB / 1.498 GB, free: 12.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.5722, allocations: 0.5242 MB / 1.498 GB, free: 12.28 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.5725, allocations: 265.8 kB / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.5727, allocations: 154.6 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5729, allocations: 341.9 kB / 1.499 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.5735, allocations: 265.9 kB / 1.499 GB, free: 11.26 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/0.5742, allocations: 367 kB / 1.5 GB, free: 10.89 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.5754, allocations: 0.5995 MB / 1.5 GB, free: 10.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5754, allocations: 0 / 1.5 GB, free: 10.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002072/0.5775, allocations: 0.8764 MB / 1.501 GB, free: 9.391 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5775, allocations: 4 kB / 1.501 GB, free: 9.387 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5775, allocations: 4 kB / 1.501 GB, free: 9.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.5781, allocations: 96.78 kB / 1.501 GB, free: 9.285 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.5788, allocations: 155.7 kB / 1.501 GB, free: 9.133 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.5811, allocations: 1.642 MB / 1.503 GB, free: 7.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.5819, allocations: 87.58 kB / 1.503 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.582, allocations: 39.97 kB / 1.503 GB, free: 7.223 MB / 1.201 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.0004768/0.5824, allocations: 295.5 kB / 1.503 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.5826, allocations: 111.3 kB / 1.504 GB, free: 6.816 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.5852, allocations: 1.068 MB / 1.505 GB, free: 5.738 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5852, allocations: 12 kB / 1.505 GB, free: 5.727 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5852, allocations: 3.938 kB / 1.505 GB, free: 5.723 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5852, allocations: 3.984 kB / 1.505 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.5865, allocations: 1.013 MB / 1.506 GB, free: 4.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5865, allocations: 8 kB / 1.506 GB, free: 4.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.587, allocations: 147.8 kB / 1.506 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.5875, allocations: 72.72 kB / 1.506 GB, free: 4.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.5876, allocations: 23.98 kB / 1.506 GB, free: 4.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.5897, allocations: 1.678 MB / 1.508 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5897, allocations: 0 / 1.508 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.5917, allocations: 0.9517 MB / 1.508 GB, free: 1.609 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.5922, allocations: 304 kB / 1.509 GB, free: 1.293 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5923, allocations: 16 kB / 1.509 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.5929, allocations: 59.94 kB / 1.509 GB, free: 1.219 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5931, allocations: 76.83 kB / 1.509 GB, free: 1.145 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.5932, allocations: 31.98 kB / 1.509 GB, free: 1.113 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008051/0.594, allocations: 0.5743 MB / 1.509 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.594, allocations: 4 kB / 1.509 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009284/0.5949, allocations: 347 kB / 1.51 GB, free: 188 kB / 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.001934/0.5968, allocations: 0.6078 MB / 1.51 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.5986, allocations: 0.7923 MB / 1.511 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5986, allocations: 0 / 1.511 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.5996, allocations: 0.4885 MB / 1.512 GB, free: 14.44 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.6012, allocations: 469.2 kB / 1.512 GB, free: 14.02 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.6046, allocations: 1.974 MB / 1.514 GB, free: 12.01 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.6054, allocations: 1.106 MB / 1.515 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008198/0.6063, allocations: 295.8 kB / 1.515 GB, free: 10.58 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6065, allocations: 115.4 kB / 1.516 GB, free: 10.47 MB / 1.217 GB Notification: Performance of SimCode: time 4.91e-07/0.6065, allocations: 0 / 1.516 GB, free: 10.47 MB / 1.217 GB Notification: Performance of Templates: time 0.03086/0.6374, allocations: 17.85 MB / 1.533 GB, free: 8.773 MB / 1.232 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.588271029759198]