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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 186.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.116/3.116, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001945/0.001945, allocations: 69.61 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3726, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008326/0.3809, allocations: 5.687 MB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1887/0.5696, allocations: 151.5 MB / 1.461 GB, free: 3.984 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.5708, allocations: 35.69 kB / 1.461 GB, free: 3.949 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.5717, allocations: 377.3 kB / 1.461 GB, free: 3.578 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.5739, allocations: 0.5638 MB / 1.462 GB, free: 3.016 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.5762, allocations: 0.9008 MB / 1.463 GB, free: 2.121 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.5782, allocations: 1.558 MB / 1.464 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009597/0.5792, allocations: 0.5029 MB / 1.465 GB, free: 16 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.58, allocations: 0.5604 MB / 1.465 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.5808, allocations: 0.5676 MB / 1.466 GB, free: 14.88 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.5809, allocations: 136 kB / 1.466 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.582, allocations: 0.4957 MB / 1.466 GB, free: 14.25 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.5824, allocations: 338.8 kB / 1.467 GB, free: 13.92 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006613/0.583, allocations: 0.6566 MB / 1.467 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.5856, allocations: 1.922 MB / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5856, allocations: 0 / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5856, allocations: 0 / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.347e-05/0.5856, allocations: 3.938 kB / 1.469 GB, free: 11.33 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.003013/0.5886, allocations: 1.644 MB / 1.471 GB, free: 9.648 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5887, allocations: 12.92 kB / 1.471 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/0.5896, allocations: 223.8 kB / 1.471 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.5911, allocations: 0.8309 MB / 1.472 GB, free: 8.562 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.5912, allocations: 74 kB / 1.472 GB, free: 8.492 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5914, allocations: 96 kB / 1.472 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.5932, allocations: 1.032 MB / 1.473 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.5932, allocations: 4 kB / 1.473 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.5933, allocations: 43.98 kB / 1.473 GB, free: 7.277 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.5933, allocations: 28 kB / 1.473 GB, free: 7.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.5953, allocations: 1.167 MB / 1.474 GB, free: 6.086 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00467/0.6, allocations: 3.002 MB / 1.477 GB, free: 2.953 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.6015, allocations: 0.757 MB / 1.478 GB, free: 2.184 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.602, allocations: 282.6 kB / 1.478 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.194e-05/0.6021, allocations: 32.59 kB / 1.478 GB, free: 1.871 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009213/0.603, allocations: 492.8 kB / 1.479 GB, free: 1.371 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.603, allocations: 0 / 1.479 GB, free: 1.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003244/0.6063, allocations: 1.134 MB / 1.48 GB, free: 236 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.6064, allocations: 196.6 kB / 1.48 GB, free: 16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.6075, allocations: 0.7912 MB / 1.481 GB, free: 15.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.6076, allocations: 41.7 kB / 1.481 GB, free: 15.13 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.6081, allocations: 0.5087 MB / 1.481 GB, free: 14.62 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.6083, allocations: 269.8 kB / 1.481 GB, free: 14.35 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.6086, allocations: 162.6 kB / 1.482 GB, free: 14.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6088, allocations: 337.9 kB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.6093, allocations: 265.9 kB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.6099, allocations: 363 kB / 1.483 GB, free: 13.22 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.6112, allocations: 0.5995 MB / 1.483 GB, free: 12.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6112, allocations: 0 / 1.483 GB, free: 12.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00208/0.6132, allocations: 0.8686 MB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6133, allocations: 9.094 kB / 1.484 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6133, allocations: 0 / 1.484 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.6139, allocations: 88.8 kB / 1.484 GB, free: 11.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6146, allocations: 159.7 kB / 1.484 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.6168, allocations: 1.539 MB / 1.486 GB, free: 9.816 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.6176, allocations: 98.25 kB / 1.486 GB, free: 9.723 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.6176, allocations: 35.97 kB / 1.486 GB, free: 9.688 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.0005364/0.6182, allocations: 295.4 kB / 1.486 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.6184, allocations: 107.3 kB / 1.486 GB, free: 9.281 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6208, allocations: 1.074 MB / 1.487 GB, free: 8.195 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6208, allocations: 12 kB / 1.487 GB, free: 8.184 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6209, allocations: 7.938 kB / 1.487 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6209, allocations: 3.984 kB / 1.487 GB, free: 8.172 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.6222, allocations: 0.9731 MB / 1.488 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6223, allocations: 0 / 1.488 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.6228, allocations: 139.8 kB / 1.488 GB, free: 7.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.6234, allocations: 80.72 kB / 1.488 GB, free: 6.938 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.6234, allocations: 19.98 kB / 1.488 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.6257, allocations: 1.578 MB / 1.49 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6257, allocations: 0 / 1.49 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.6278, allocations: 0.9516 MB / 1.491 GB, free: 4.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.6282, allocations: 218.9 kB / 1.491 GB, free: 4.027 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6284, allocations: 20 kB / 1.491 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.6289, allocations: 57.97 kB / 1.491 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.6291, allocations: 80.8 kB / 1.491 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.6292, allocations: 39.97 kB / 1.491 GB, free: 3.836 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008437/0.6301, allocations: 0.5503 MB / 1.492 GB, free: 3.273 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6301, allocations: 0 / 1.492 GB, free: 3.273 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001087/0.6311, allocations: 351 kB / 1.492 GB, free: 2.93 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.001974/0.6331, allocations: 0.6054 MB / 1.493 GB, free: 2.492 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.6348, allocations: 0.7921 MB / 1.494 GB, free: 1.688 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6348, allocations: 3.938 kB / 1.494 GB, free: 1.684 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.6358, allocations: 0.4887 MB / 1.494 GB, free: 1.184 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6373, allocations: 469.2 kB / 1.495 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.6407, allocations: 1.946 MB / 1.496 GB, free: 14.78 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/0.6414, allocations: 1.103 MB / 1.498 GB, free: 13.65 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008343/0.6423, allocations: 287.6 kB / 1.498 GB, free: 13.37 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.6425, allocations: 107.4 kB / 1.498 GB, free: 13.26 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/0.6425, allocations: 0 / 1.498 GB, free: 13.26 MB / 1.201 GB Notification: Performance of Templates: time 0.03301/0.6755, allocations: 18.1 MB / 1.516 GB, free: 11.34 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: 9.811716916039586]