Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.001437/0.001437, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001524/0.001524, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.28/3.28, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [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.002206/0.002206, allocations: 69.23 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3687, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2323/0.601, allocations: 169.1 MB / 1.491 GB, free: 8.133 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04294/0.6439, allocations: 24.17 MB / 1.515 GB, free: 15.91 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.6468, allocations: 79.38 kB / 1.515 GB, free: 15.83 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.6539, allocations: 2.013 MB / 1.517 GB, free: 13.81 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.6676, allocations: 4.547 MB / 1.521 GB, free: 9.25 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00713/0.6748, allocations: 2.539 MB / 1.524 GB, free: 6.715 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.6879, allocations: 7.633 MB / 1.531 GB, free: 15.07 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.6908, allocations: 1.251 MB / 1.533 GB, free: 13.78 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007722/0.6985, allocations: 3.031 MB / 1.536 GB, free: 10.74 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.7017, allocations: 1.362 MB / 1.537 GB, free: 9.371 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.7022, allocations: 192 kB / 1.537 GB, free: 9.184 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.7124, allocations: 4.255 MB / 1.541 GB, free: 4.922 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.7137, allocations: 0.6618 MB / 1.542 GB, free: 4.258 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.7154, allocations: 0.9176 MB / 1.543 GB, free: 3.336 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7279, allocations: 5.6 MB / 1.548 GB, free: 13.72 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.7279, allocations: 0 / 1.548 GB, free: 13.72 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7279, allocations: 0 / 1.548 GB, free: 13.72 MB / 1.248 GB Notification: Performance of Transformations before backend: time 9.031e-05/0.728, allocations: 0 / 1.548 GB, free: 13.72 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.007314/0.7353, allocations: 2.802 MB / 1.551 GB, free: 10.86 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.7353, allocations: 8.031 kB / 1.551 GB, free: 10.85 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.74, allocations: 0.6659 MB / 1.552 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.7463, allocations: 2.715 MB / 1.554 GB, free: 7.426 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.7464, allocations: 78.09 kB / 1.554 GB, free: 7.348 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.7467, allocations: 116 kB / 1.555 GB, free: 7.234 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/0.7501, allocations: 1.565 MB / 1.556 GB, free: 5.527 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.7501, allocations: 0 / 1.556 GB, free: 5.527 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.7502, allocations: 44 kB / 1.556 GB, free: 5.484 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.7503, allocations: 31.94 kB / 1.556 GB, free: 5.453 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.7531, allocations: 1.12 MB / 1.557 GB, free: 4.332 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.7635, allocations: 5.243 MB / 1.562 GB, free: 14.93 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.7658, allocations: 0.765 MB / 1.563 GB, free: 14.14 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000873/0.7667, allocations: 374.3 kB / 1.563 GB, free: 13.77 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007287/0.774, allocations: 1.866 MB / 1.565 GB, free: 11.9 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.7754, allocations: 0.6748 MB / 1.566 GB, free: 11.16 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.945e-06/0.7754, allocations: 4 kB / 1.566 GB, free: 11.15 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05734/0.8328, allocations: 18.7 MB / 1.584 GB, free: 8.406 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.8329, allocations: 166.9 kB / 1.584 GB, free: 8.207 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.8362, allocations: 1.955 MB / 1.586 GB, free: 6.203 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.8364, allocations: 49.7 kB / 1.586 GB, free: 6.148 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009526/0.8374, allocations: 0.8703 MB / 1.587 GB, free: 5.27 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.8377, allocations: 309.4 kB / 1.587 GB, free: 4.965 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005513/0.8383, allocations: 335.4 kB / 1.588 GB, free: 4.633 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8384, allocations: 305.1 kB / 1.588 GB, free: 4.332 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.8399, allocations: 0.6559 MB / 1.589 GB, free: 3.676 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.8418, allocations: 1.233 MB / 1.59 GB, free: 2.238 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.8448, allocations: 1.626 MB / 1.591 GB, free: 480 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.8448, allocations: 0 / 1.591 GB, free: 480 kB / 1.279 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00499/0.8498, allocations: 2.1 MB / 1.594 GB, free: 14.35 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.8499, allocations: 15.94 kB / 1.594 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.8499, allocations: 12 kB / 1.594 GB, free: 14.32 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/0.8507, allocations: 218 kB / 1.594 GB, free: 14.11 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.8519, allocations: 311.5 kB / 1.594 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.8572, allocations: 3.865 MB / 1.598 GB, free: 9.738 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.8593, allocations: 119.9 kB / 1.598 GB, free: 9.621 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.8594, allocations: 59.98 kB / 1.598 GB, free: 9.562 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.8605, allocations: 0.5598 MB / 1.599 GB, free: 8.992 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006892/0.8612, allocations: 194.7 kB / 1.599 GB, free: 8.801 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.865, allocations: 1.49 MB / 1.6 GB, free: 7.297 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.8651, allocations: 16 kB / 1.6 GB, free: 7.281 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8651, allocations: 7.875 kB / 1.6 GB, free: 7.273 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/0.8679, allocations: 1.269 MB / 1.601 GB, free: 5.93 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7868/1.655, allocations: 8.02 MB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.655, allocations: 9.812 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008811/1.656, allocations: 182 kB / 1.609 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/1.656, allocations: 156.7 kB / 1.61 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/1.656, allocations: 30.05 kB / 1.61 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/1.659, allocations: 2.217 MB / 1.612 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.659, allocations: 5.406 kB / 1.612 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/1.664, allocations: 1.905 MB / 1.614 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.665, allocations: 322.1 kB / 1.614 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/1.665, allocations: 30.11 kB / 1.614 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.667, allocations: 83.44 kB / 1.614 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.667, allocations: 83.58 kB / 1.614 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/1.667, allocations: 36.88 kB / 1.614 GB, free: 267.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002444/1.669, allocations: 1.328 MB / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.669, allocations: 0 / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004587/1.674, allocations: 1.389 MB / 1.617 GB, free: 267.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007019/1.681, allocations: 1.325 MB / 1.618 GB, free: 267.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004519/1.685, allocations: 1.579 MB / 1.62 GB, free: 266.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/1.686, allocations: 1.031 kB / 1.62 GB, free: 266.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.687, allocations: 0.6242 MB / 1.62 GB, free: 266.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/1.692, allocations: 0.8879 MB / 1.621 GB, free: 265.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/1.7, allocations: 3.925 MB / 1.625 GB, free: 263.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.701, allocations: 0.8993 MB / 1.626 GB, free: 263.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/1.702, allocations: 170.7 kB / 1.626 GB, free: 263.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.702, allocations: 1.219 kB / 1.626 GB, free: 263.6 MB / 1.295 GB Notification: Performance of Templates: time 0.08319/1.785, allocations: 66.91 MB / 1.691 GB, free: 216.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bui.Q_flow,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.sta_a.p,bui.vol.sta_a.p,bui.vol.sta_b.p Variables in the result:bui.Q_flow,bui.sta_a.p,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.p,bui.vol.sta_b.p,time [Calling sys.exit(0), Time elapsed: 21.95158682158217]