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.001873/0.001873, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00266/0.00266, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.395/3.395, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 2.464e-06/2.464e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.403e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01039/0.01043, allocations: 5.38 MB / 0.8827 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2091/0.2195, allocations: 146.6 MB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.2206, allocations: 31.69 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.2215, allocations: 377.2 kB / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.2233, allocations: 0.5939 MB / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.2256, allocations: 0.9114 MB / 1.028 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.2276, allocations: 1.643 MB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.2285, allocations: 0.4912 MB / 1.03 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2298, allocations: 0.8342 MB / 1.031 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.2305, allocations: 450.5 kB / 1.031 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.2307, allocations: 140 kB / 1.031 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2318, allocations: 0.511 MB / 1.032 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.2322, allocations: 346.8 kB / 1.032 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005613/0.2328, allocations: 450.8 kB / 1.032 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.2357, allocations: 2.091 MB / 1.034 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2357, allocations: 0 / 1.034 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2357, allocations: 4 kB / 1.034 GB, free: 5.293 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.2357, allocations: 0 / 1.034 GB, free: 5.293 MB / 0.9948 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.003371/0.2391, allocations: 1.9 MB / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2391, allocations: 12.03 kB / 1.036 GB, free: 3.332 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.2407, allocations: 371.3 kB / 1.037 GB, free: 2.969 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.2423, allocations: 0.8805 MB / 1.038 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.2424, allocations: 86.16 kB / 1.038 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.2426, allocations: 108 kB / 1.038 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.2447, allocations: 1.345 MB / 1.039 GB, free: 392 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.2448, allocations: 4 kB / 1.039 GB, free: 388 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/0.2449, allocations: 40 kB / 1.039 GB, free: 348 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.2449, allocations: 24 kB / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2469, allocations: 1.085 MB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.2529, allocations: 3.455 MB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2545, allocations: 0.7178 MB / 1.044 GB, free: 10.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.255, allocations: 273.5 kB / 1.044 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.582e-05/0.2551, allocations: 28.62 kB / 1.045 GB, free: 10.65 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.2561, allocations: 0.6235 MB / 1.045 GB, free: 9.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.635e-06/0.2561, allocations: 4 kB / 1.045 GB, free: 9.977 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.003246/0.2594, allocations: 1.109 MB / 1.046 GB, free: 8.859 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.2595, allocations: 192.9 kB / 1.046 GB, free: 8.629 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.2612, allocations: 0.9681 MB / 1.047 GB, free: 7.645 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.2613, allocations: 45.7 kB / 1.047 GB, free: 7.594 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/0.262, allocations: 0.6209 MB / 1.048 GB, free: 6.965 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.2624, allocations: 309.5 kB / 1.048 GB, free: 6.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.2627, allocations: 216.2 kB / 1.048 GB, free: 6.438 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003223/0.263, allocations: 0.5355 MB / 1.049 GB, free: 5.895 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.2636, allocations: 245.9 kB / 1.049 GB, free: 5.656 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.2644, allocations: 0.5017 MB / 1.05 GB, free: 5.105 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2656, allocations: 0.5889 MB / 1.05 GB, free: 4.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.2656, allocations: 0 / 1.05 GB, free: 4.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002229/0.2678, allocations: 0.887 MB / 1.051 GB, free: 3.602 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2678, allocations: 8 kB / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2678, allocations: 0 / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.2688, allocations: 139.5 kB / 1.051 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.2696, allocations: 179.7 kB / 1.051 GB, free: 3.277 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.2723, allocations: 2.054 MB / 1.053 GB, free: 1.094 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.2729, allocations: 79.48 kB / 1.054 GB, free: 1.016 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/0.273, allocations: 39.97 kB / 1.054 GB, free: 0.9766 MB / 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.0004901/0.2735, allocations: 311.2 kB / 1.054 GB, free: 0.6602 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.2738, allocations: 131.3 kB / 1.054 GB, free: 0.5312 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3702/0.644, allocations: 1.022 MB / 1.055 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.644, allocations: 14.31 kB / 1.055 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.644, allocations: 0 / 1.055 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.644, allocations: 3.141 kB / 1.055 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.6473, allocations: 2.162 MB / 1.057 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6473, allocations: 0 / 1.057 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.6478, allocations: 146.3 kB / 1.057 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007345/0.6486, allocations: 124.1 kB / 1.057 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.6486, allocations: 29.7 kB / 1.057 GB, free: 218.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6502, allocations: 2.072 MB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6502, allocations: 4.75 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.6519, allocations: 1.082 MB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.6523, allocations: 216.1 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6525, allocations: 31.09 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.653, allocations: 43.47 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.6531, allocations: 73.73 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.6532, allocations: 37.56 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005885/0.6538, allocations: 0.5948 MB / 1.061 GB, free: 215.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6538, allocations: 5.594 kB / 1.061 GB, free: 215.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008445/0.6546, allocations: 367.9 kB / 1.062 GB, free: 215.7 MB / 1.01 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.003203/0.6578, allocations: 0.6637 MB / 1.062 GB, free: 215.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6593, allocations: 0.8802 MB / 1.063 GB, free: 215.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6593, allocations: 1.094 kB / 1.063 GB, free: 215.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.6601, allocations: 0.5807 MB / 1.064 GB, free: 214.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6618, allocations: 490.4 kB / 1.064 GB, free: 214.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.6647, allocations: 1.95 MB / 1.066 GB, free: 213.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.665, allocations: 0.5027 MB / 1.067 GB, free: 213.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007613/0.6658, allocations: 279.6 kB / 1.067 GB, free: 213.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.6661, allocations: 117.6 kB / 1.067 GB, free: 213.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.042e-06/0.6661, allocations: 0 / 1.067 GB, free: 213.5 MB / 1.01 GB Notification: Performance of Templates: time 0.02825/0.6943, allocations: 18.18 MB / 1.085 GB, free: 211.2 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] 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.759819953003898]