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.001863/0.001863, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002147/0.002147, allocations: 213 kB / 22.99 MB, free: 4.957 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.386/3.386, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002034/0.002034, allocations: 65.98 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3963, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009768/0.4061, allocations: 5.073 MB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2093/0.6154, allocations: 133 MB / 1.462 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.6165, allocations: 39.62 kB / 1.462 GB, free: 6.359 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.6174, allocations: 369.4 kB / 1.462 GB, free: 5.996 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.6194, allocations: 0.5864 MB / 1.463 GB, free: 5.41 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.6215, allocations: 0.9042 MB / 1.464 GB, free: 4.512 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00195/0.6235, allocations: 1.574 MB / 1.465 GB, free: 2.934 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.6244, allocations: 0.499 MB / 1.466 GB, free: 2.391 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.6253, allocations: 0.5721 MB / 1.466 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.626, allocations: 0.5753 MB / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6262, allocations: 136 kB / 1.467 GB, free: 1.105 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.6273, allocations: 0.5191 MB / 1.467 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.6276, allocations: 342.8 kB / 1.468 GB, free: 256 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.6282, allocations: 0.5285 MB / 1.468 GB, free: 15.72 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.6307, allocations: 1.977 MB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6307, allocations: 0 / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6307, allocations: 0 / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.6307, allocations: 0 / 1.47 GB, free: 13.73 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.002984/0.6337, allocations: 1.679 MB / 1.472 GB, free: 12.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6337, allocations: 8.031 kB / 1.472 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6353, allocations: 271.8 kB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6369, allocations: 0.8465 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.6369, allocations: 77.94 kB / 1.473 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6371, allocations: 96 kB / 1.473 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.6392, allocations: 1.283 MB / 1.474 GB, free: 9.32 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.6393, allocations: 3.938 kB / 1.474 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.976e-05/0.6394, allocations: 44 kB / 1.474 GB, free: 9.273 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.6394, allocations: 24 kB / 1.474 GB, free: 9.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.6413, allocations: 1.128 MB / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.6456, allocations: 2.342 MB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.6471, allocations: 0.7483 MB / 1.479 GB, free: 4.969 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.6476, allocations: 278.7 kB / 1.479 GB, free: 4.691 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.623e-05/0.6477, allocations: 24.58 kB / 1.479 GB, free: 4.668 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.6488, allocations: 0.5885 MB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.6488, allocations: 0 / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003424/0.6522, allocations: 1.134 MB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.6523, allocations: 192.6 kB / 1.481 GB, free: 2.664 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6535, allocations: 0.7475 MB / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.6536, allocations: 45.7 kB / 1.482 GB, free: 1.859 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005242/0.6541, allocations: 0.5203 MB / 1.482 GB, free: 1.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6543, allocations: 265.8 kB / 1.482 GB, free: 1.07 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.6546, allocations: 158.6 kB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6548, allocations: 341.9 kB / 1.483 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/0.6553, allocations: 269.9 kB / 1.483 GB, free: 312 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.6561, allocations: 491.6 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.6572, allocations: 0.5995 MB / 1.484 GB, free: 15.17 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6572, allocations: 3.938 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002134/0.6594, allocations: 0.8608 MB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.6594, allocations: 4 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6594, allocations: 8.094 kB / 1.485 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.66, allocations: 76.78 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.6608, allocations: 163.7 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.6631, allocations: 1.516 MB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.6638, allocations: 79.58 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.867e-05/0.6639, allocations: 39.97 kB / 1.487 GB, free: 12.3 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.0005487/0.6645, allocations: 292 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6646, allocations: 111.3 kB / 1.487 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.6672, allocations: 1.071 MB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.6672, allocations: 8 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6672, allocations: 0 / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6672, allocations: 3.984 kB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.6682, allocations: 0.7316 MB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6682, allocations: 4 kB / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.6688, allocations: 139.8 kB / 1.489 GB, free: 9.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.6693, allocations: 76.72 kB / 1.489 GB, free: 9.816 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.6694, allocations: 23.98 kB / 1.489 GB, free: 9.793 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.6714, allocations: 1.54 MB / 1.491 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6714, allocations: 4.031 kB / 1.491 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.6735, allocations: 0.9399 MB / 1.492 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.674, allocations: 215 kB / 1.492 GB, free: 6.965 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6741, allocations: 16 kB / 1.492 GB, free: 6.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.6748, allocations: 68 kB / 1.492 GB, free: 6.883 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6749, allocations: 72.86 kB / 1.492 GB, free: 6.812 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/0.675, allocations: 35.97 kB / 1.492 GB, free: 6.777 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006909/0.6757, allocations: 0.5264 MB / 1.492 GB, free: 6.258 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6757, allocations: 0 / 1.492 GB, free: 6.258 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009464/0.6766, allocations: 358.9 kB / 1.493 GB, free: 5.906 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.002132/0.6788, allocations: 0.644 MB / 1.493 GB, free: 5.469 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.6805, allocations: 0.7883 MB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6805, allocations: 0 / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.6815, allocations: 0.4926 MB / 1.495 GB, free: 4.168 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6831, allocations: 474.2 kB / 1.495 GB, free: 3.742 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.687, allocations: 1.967 MB / 1.497 GB, free: 1.742 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.6876, allocations: 0.5078 MB / 1.498 GB, free: 1.203 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008718/0.6884, allocations: 279.3 kB / 1.498 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6887, allocations: 115.4 kB / 1.498 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/0.6887, allocations: 0 / 1.498 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of Templates: time 0.0338/0.7225, allocations: 19.15 MB / 1.517 GB, free: 13.93 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 -s cvode -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: 10.336419960993226]