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.001006/0.001006, 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.0008817/0.0008817, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9/0.9, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.808/1.808, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.9822 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.227e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004885/0.004907, allocations: 5.085 MB / 0.9871 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.626/0.6309, allocations: 133 MB / 1.117 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.632, allocations: 38.25 kB / 1.117 GB, free: 19.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.6327, allocations: 382.2 kB / 1.117 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.6342, allocations: 0.5987 MB / 1.118 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.6358, allocations: 0.9181 MB / 1.119 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.637, allocations: 1.642 MB / 1.121 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.6376, allocations: 497.7 kB / 1.121 GB, free: 17.68 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.6384, allocations: 0.8311 MB / 1.122 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.6389, allocations: 459.4 kB / 1.122 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.639, allocations: 139.3 kB / 1.122 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007452/0.6398, allocations: 0.5124 MB / 1.123 GB, free: 16.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.64, allocations: 354.6 kB / 1.123 GB, free: 16.75 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.6404, allocations: 439.8 kB / 1.124 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.6422, allocations: 2.09 MB / 1.126 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6422, allocations: 0 / 1.126 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6422, allocations: 0 / 1.126 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.6422, allocations: 0 / 1.126 GB, free: 15.65 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.001931/0.6441, allocations: 1.694 MB / 1.127 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6442, allocations: 8.562 kB / 1.127 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/0.645, allocations: 269.2 kB / 1.128 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6461, allocations: 0.854 MB / 1.128 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.6461, allocations: 82.44 kB / 1.128 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.6462, allocations: 104.8 kB / 1.129 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6475, allocations: 1.303 MB / 1.13 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6475, allocations: 3.938 kB / 1.13 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.6476, allocations: 42.86 kB / 1.13 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.6476, allocations: 28.56 kB / 1.13 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.6491, allocations: 1.131 MB / 1.131 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.6526, allocations: 2.48 MB / 1.133 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.6537, allocations: 0.7878 MB / 1.134 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.6541, allocations: 297.2 kB / 1.135 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.6542, allocations: 27.7 kB / 1.135 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.6548, allocations: 0.6094 MB / 1.135 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=86): time 1.973e-06/0.6548, allocations: 3.938 kB / 1.135 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86): time 0.001924/0.6567, allocations: 1.176 MB / 1.136 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.6568, allocations: 203.7 kB / 1.136 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.6575, allocations: 0.7564 MB / 1.137 GB, free: 9.566 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.6575, allocations: 45.25 kB / 1.137 GB, free: 9.523 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.6578, allocations: 0.5213 MB / 1.138 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6579, allocations: 281.3 kB / 1.138 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.6581, allocations: 182.9 kB / 1.138 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.6582, allocations: 337.2 kB / 1.139 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.6586, allocations: 291.9 kB / 1.139 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.6591, allocations: 0.5098 MB / 1.139 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.66, allocations: 0.6467 MB / 1.14 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.66, allocations: 0.75 kB / 1.14 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001423/0.6614, allocations: 0.9408 MB / 1.141 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6614, allocations: 6.406 kB / 1.141 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6614, allocations: 4.297 kB / 1.141 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.6618, allocations: 84.59 kB / 1.141 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.6622, allocations: 163.3 kB / 1.141 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.6634, allocations: 1.517 MB / 1.143 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.6638, allocations: 92.23 kB / 1.143 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.6639, allocations: 40.45 kB / 1.143 GB, free: 5.895 MB / 0.9948 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.0003169/0.6642, allocations: 298.8 kB / 1.143 GB, free: 5.68 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.6643, allocations: 103.2 kB / 1.143 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.6659, allocations: 1.111 MB / 1.144 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6659, allocations: 11.14 kB / 1.144 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.666, allocations: 0 / 1.144 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.666, allocations: 6.062 kB / 1.144 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.6685, allocations: 1.988 MB / 1.146 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6685, allocations: 0.7031 kB / 1.146 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.6688, allocations: 143.5 kB / 1.146 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.669, allocations: 73 kB / 1.146 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.669, allocations: 29.88 kB / 1.146 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009565/0.67, allocations: 1.549 MB / 1.148 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.67, allocations: 0 / 1.148 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.6713, allocations: 1.049 MB / 1.149 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.6716, allocations: 217 kB / 1.149 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.6716, allocations: 24.27 kB / 1.149 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.672, allocations: 68.97 kB / 1.149 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6721, allocations: 73.88 kB / 1.149 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.6721, allocations: 40.03 kB / 1.149 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005174/0.6727, allocations: 0.5283 MB / 1.15 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.6727, allocations: 0 / 1.15 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008383/0.6735, allocations: 369.7 kB / 1.15 GB, free: 1.781 MB / 0.9948 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 (97): * Single equations (assignments): 86 * 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.001192/0.6747, allocations: 0.6589 MB / 1.151 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.6758, allocations: 0.8412 MB / 1.152 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6758, allocations: 0 / 1.152 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.6763, allocations: 0.4899 MB / 1.152 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6774, allocations: 469.4 kB / 1.153 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.6798, allocations: 2.035 MB / 1.155 GB, free: 15.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.6803, allocations: 0.5197 MB / 1.155 GB, free: 15.56 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.6806, allocations: 123.8 kB / 1.155 GB, free: 15.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.6806, allocations: 1.594 kB / 1.155 GB, free: 15.54 MB / 1.01 GB Notification: Performance of Templates: time 0.0257/0.7063, allocations: 23.2 MB / 1.178 GB, free: 8.531 MB / 1.01 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.427923828363419]