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.001761/0.001761, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00206/0.00206, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.719/2.719, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.002129/0.002129, allocations: 67.89 kB / 0.9819 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7492, allocations: 176.1 MB / 1.154 GB, free: 33.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005099/0.7543, allocations: 5.086 MB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.9089, allocations: 133 MB / 1.289 GB, free: 4.195 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009912/0.9099, allocations: 34.5 kB / 1.289 GB, free: 4.176 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.911, allocations: 375.1 kB / 1.289 GB, free: 3.926 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.9131, allocations: 0.5773 MB / 1.29 GB, free: 3.574 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.9154, allocations: 0.9061 MB / 1.291 GB, free: 3.07 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.9175, allocations: 1.579 MB / 1.292 GB, free: 2.238 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.9184, allocations: 491.1 kB / 1.293 GB, free: 1.945 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.9193, allocations: 0.5684 MB / 1.293 GB, free: 1.656 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.92, allocations: 0.5216 MB / 1.294 GB, free: 1.391 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.9202, allocations: 138.2 kB / 1.294 GB, free: 1.387 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009952/0.9212, allocations: 0.5001 MB / 1.294 GB, free: 1.27 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.9216, allocations: 342.2 kB / 1.295 GB, free: 1.047 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.9221, allocations: 0.5229 MB / 1.295 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.9244, allocations: 1.98 MB / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.9244, allocations: 0 / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9244, allocations: 0 / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.9244, allocations: 1.094 kB / 1.297 GB, free: 15.88 MB / 1.154 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.002879/0.9273, allocations: 1.686 MB / 1.299 GB, free: 14.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9273, allocations: 8.625 kB / 1.299 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.9288, allocations: 265.5 kB / 1.299 GB, free: 14.61 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.9303, allocations: 0.8431 MB / 1.3 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.9303, allocations: 82.52 kB / 1.3 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.9305, allocations: 95.91 kB / 1.3 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.9324, allocations: 1.28 MB / 1.301 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.9324, allocations: 5.281 kB / 1.301 GB, free: 12.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.9325, allocations: 41.66 kB / 1.301 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.9325, allocations: 23.91 kB / 1.301 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.9344, allocations: 1.123 MB / 1.302 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.9384, allocations: 2.345 MB / 1.305 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.9399, allocations: 0.7563 MB / 1.305 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.9404, allocations: 273.4 kB / 1.306 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.468e-05/0.9405, allocations: 35.67 kB / 1.306 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.9414, allocations: 0.5848 MB / 1.306 GB, free: 9.598 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.9414, allocations: 0 / 1.306 GB, free: 9.598 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003165/0.9446, allocations: 1.13 MB / 1.307 GB, free: 9.035 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.9447, allocations: 189.6 kB / 1.307 GB, free: 8.816 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.9457, allocations: 0.7473 MB / 1.308 GB, free: 8.395 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.9458, allocations: 43.11 kB / 1.308 GB, free: 8.352 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.9462, allocations: 0.5228 MB / 1.309 GB, free: 7.887 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.9464, allocations: 266.1 kB / 1.309 GB, free: 7.656 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.9467, allocations: 161 kB / 1.309 GB, free: 7.559 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9468, allocations: 337.5 kB / 1.309 GB, free: 7.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.9474, allocations: 270.8 kB / 1.31 GB, free: 7.094 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.9481, allocations: 492 kB / 1.31 GB, free: 6.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.9493, allocations: 0.5977 MB / 1.311 GB, free: 6.41 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9493, allocations: 4 kB / 1.311 GB, free: 6.406 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002011/0.9513, allocations: 0.8665 MB / 1.312 GB, free: 5.957 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9513, allocations: 9.938 kB / 1.312 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9513, allocations: 1 kB / 1.312 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.9519, allocations: 81.11 kB / 1.312 GB, free: 5.914 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.9526, allocations: 160.1 kB / 1.312 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.9547, allocations: 1.509 MB / 1.313 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.9554, allocations: 93.95 kB / 1.313 GB, free: 4.375 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/0.9554, allocations: 30.14 kB / 1.313 GB, free: 4.367 MB / 1.154 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.0004277/0.9559, allocations: 298.7 kB / 1.314 GB, free: 4.141 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.9561, allocations: 109.4 kB / 1.314 GB, free: 4.078 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.9585, allocations: 1.065 MB / 1.315 GB, free: 3.285 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.9586, allocations: 8 kB / 1.315 GB, free: 3.277 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.9586, allocations: 0 / 1.315 GB, free: 3.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.9586, allocations: 7.984 kB / 1.315 GB, free: 3.27 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.9595, allocations: 0.7278 MB / 1.316 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9595, allocations: 0 / 1.316 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.9601, allocations: 147.7 kB / 1.316 GB, free: 2.367 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.9606, allocations: 76.72 kB / 1.316 GB, free: 2.289 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.9606, allocations: 23.98 kB / 1.316 GB, free: 2.266 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.9626, allocations: 1.536 MB / 1.317 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9626, allocations: 4.031 kB / 1.317 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.9646, allocations: 0.9399 MB / 1.318 GB, free: 15.66 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.9651, allocations: 218.9 kB / 1.319 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.9652, allocations: 16 kB / 1.319 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.9658, allocations: 67.92 kB / 1.319 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.966, allocations: 64.88 kB / 1.319 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.966, allocations: 39.97 kB / 1.319 GB, free: 15.25 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006865/0.9667, allocations: 0.5263 MB / 1.319 GB, free: 14.73 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.9667, allocations: 0 / 1.319 GB, free: 14.73 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008521/0.9676, allocations: 354.9 kB / 1.32 GB, free: 14.39 MB / 1.17 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.00206/0.9696, allocations: 0.6456 MB / 1.32 GB, free: 13.95 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.9713, allocations: 0.796 MB / 1.321 GB, free: 13.14 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9713, allocations: 0 / 1.321 GB, free: 13.14 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.9722, allocations: 492.4 kB / 1.321 GB, free: 12.64 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.9738, allocations: 462.8 kB / 1.322 GB, free: 12.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.9771, allocations: 1.978 MB / 1.324 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.9776, allocations: 0.5097 MB / 1.324 GB, free: 9.68 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007952/0.9784, allocations: 291.2 kB / 1.325 GB, free: 9.391 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.9787, allocations: 120.4 kB / 1.325 GB, free: 9.273 MB / 1.17 GB Notification: Performance of SimCode: time 3.6e-07/0.9787, allocations: 0 / 1.325 GB, free: 9.273 MB / 1.17 GB Notification: Performance of Templates: time 0.02999/1.009, allocations: 17.7 MB / 1.342 GB, free: 7.875 MB / 1.186 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 -s ida -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/jenkins1/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.033064190065488]