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.001734/0.001734, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002295/0.002295, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.793 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.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002229/0.002229, allocations: 70.47 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3424, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008055/0.3505, allocations: 5.063 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.527, allocations: 133 MB / 1.46 GB, free: 7.316 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.5281, allocations: 31.69 kB / 1.46 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.5294, allocations: 377.3 kB / 1.461 GB, free: 6.914 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.532, allocations: 0.5855 MB / 1.461 GB, free: 6.328 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.5348, allocations: 0.9025 MB / 1.462 GB, free: 5.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.5371, allocations: 1.574 MB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5382, allocations: 487 kB / 1.464 GB, free: 3.332 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.5393, allocations: 0.576 MB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.5402, allocations: 0.5129 MB / 1.465 GB, free: 2.238 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.5406, allocations: 136 kB / 1.465 GB, free: 2.105 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5418, allocations: 0.5035 MB / 1.466 GB, free: 1.602 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.5422, allocations: 338.8 kB / 1.466 GB, free: 1.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007924/0.543, allocations: 0.5324 MB / 1.467 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5459, allocations: 1.977 MB / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5459, allocations: 0 / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5459, allocations: 0 / 1.469 GB, free: 14.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.596e-05/0.546, allocations: 0 / 1.469 GB, free: 14.75 MB / 1.17 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.003727/0.5497, allocations: 1.683 MB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5498, allocations: 8.031 kB / 1.47 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.5515, allocations: 263.8 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.5534, allocations: 0.8504 MB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.5535, allocations: 74 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.5536, allocations: 92 kB / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.5558, allocations: 1.286 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.5558, allocations: 0 / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5559, allocations: 47.94 kB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.556, allocations: 27.94 kB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.558, allocations: 1.128 MB / 1.474 GB, free: 9.137 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.5629, allocations: 2.346 MB / 1.476 GB, free: 6.734 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5644, allocations: 0.7455 MB / 1.477 GB, free: 5.984 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.565, allocations: 278.6 kB / 1.477 GB, free: 5.707 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/0.5651, allocations: 28.58 kB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009864/0.5661, allocations: 0.5877 MB / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.5661, allocations: 0 / 1.478 GB, free: 5.051 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003368/0.5694, allocations: 1.13 MB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5696, allocations: 192.6 kB / 1.479 GB, free: 3.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.5707, allocations: 0.7514 MB / 1.48 GB, free: 2.926 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.5708, allocations: 37.7 kB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.5713, allocations: 0.5281 MB / 1.48 GB, free: 2.348 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.5716, allocations: 261.8 kB / 1.481 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.5719, allocations: 162.6 kB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.572, allocations: 341.9 kB / 1.481 GB, free: 1.586 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.5726, allocations: 261.9 kB / 1.481 GB, free: 1.328 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.5734, allocations: 491.6 kB / 1.482 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5746, allocations: 0.5994 MB / 1.482 GB, free: 196 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5746, allocations: 4 kB / 1.482 GB, free: 192 kB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002244/0.5769, allocations: 0.8647 MB / 1.483 GB, free: 15.31 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5769, allocations: 7.938 kB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5769, allocations: 4 kB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.5775, allocations: 80.88 kB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.5782, allocations: 159.8 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.5805, allocations: 1.523 MB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.5813, allocations: 79.58 kB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.5814, allocations: 39.97 kB / 1.485 GB, free: 13.32 MB / 1.186 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.0006232/0.582, allocations: 292 kB / 1.485 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.5823, allocations: 111.3 kB / 1.486 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.585, allocations: 1.063 MB / 1.487 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.585, allocations: 8 kB / 1.487 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.585, allocations: 4 kB / 1.487 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.585, allocations: 3.984 kB / 1.487 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5862, allocations: 0.7278 MB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.5862, allocations: 3.938 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.5868, allocations: 139.8 kB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.5873, allocations: 76.78 kB / 1.487 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.5873, allocations: 23.98 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.5894, allocations: 1.54 MB / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5894, allocations: 0 / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.5917, allocations: 0.9439 MB / 1.49 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005222/0.5922, allocations: 215 kB / 1.49 GB, free: 7.988 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5923, allocations: 20 kB / 1.49 GB, free: 7.969 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.593, allocations: 61.8 kB / 1.49 GB, free: 7.91 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.5932, allocations: 76.84 kB / 1.49 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.5933, allocations: 39.97 kB / 1.49 GB, free: 7.797 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008292/0.5941, allocations: 0.5224 MB / 1.491 GB, free: 7.281 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5941, allocations: 0 / 1.491 GB, free: 7.281 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001084/0.5952, allocations: 362.8 kB / 1.491 GB, free: 6.926 MB / 1.186 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.002377/0.5976, allocations: 0.639 MB / 1.492 GB, free: 6.488 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.5995, allocations: 0.7921 MB / 1.493 GB, free: 5.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5996, allocations: 4 kB / 1.493 GB, free: 5.676 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6006, allocations: 496.4 kB / 1.493 GB, free: 5.184 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.6025, allocations: 465.6 kB / 1.493 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.6069, allocations: 1.969 MB / 1.495 GB, free: 2.766 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.6076, allocations: 0.5158 MB / 1.496 GB, free: 2.219 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001023/0.6086, allocations: 283.2 kB / 1.496 GB, free: 1.938 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.6089, allocations: 111.4 kB / 1.496 GB, free: 1.828 MB / 1.186 GB Notification: Performance of SimCode: time 1.202e-06/0.6089, allocations: 0 / 1.496 GB, free: 1.828 MB / 1.186 GB Notification: Performance of Templates: time 0.03429/0.6432, allocations: 18.92 MB / 1.515 GB, free: 15.18 MB / 1.217 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: 10.08973591402173]