Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001577/0.001577, allocations: 100.4 kB / 19.7 MB, free: 2.129 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.001738/0.001738, allocations: 215.8 kB / 22.99 MB, free: 4.949 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.41/3.41, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002137/0.002137, allocations: 73.48 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4065, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2319/0.6385, allocations: 169.1 MB / 1.53 GB, free: 3.875 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.04195/0.6804, allocations: 24.17 MB / 1.553 GB, free: 11.64 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.6837, allocations: 83.31 kB / 1.553 GB, free: 11.55 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.006988/0.6907, allocations: 2.005 MB / 1.555 GB, free: 9.543 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01741/0.7081, allocations: 4.548 MB / 1.56 GB, free: 4.98 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00726/0.7153, allocations: 2.538 MB / 1.562 GB, free: 2.449 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.7279, allocations: 7.631 MB / 1.57 GB, free: 10.8 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.7304, allocations: 1.243 MB / 1.571 GB, free: 9.523 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007471/0.7378, allocations: 3.039 MB / 1.574 GB, free: 6.477 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.7409, allocations: 1.366 MB / 1.575 GB, free: 5.105 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.7413, allocations: 192 kB / 1.575 GB, free: 4.918 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.7513, allocations: 4.251 MB / 1.58 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009369/0.7522, allocations: 0.6579 MB / 1.58 GB, free: 0 / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.7539, allocations: 0.9254 MB / 1.581 GB, free: 15.07 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.7652, allocations: 5.592 MB / 1.587 GB, free: 9.461 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7652, allocations: 0 / 1.587 GB, free: 9.461 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7652, allocations: 0 / 1.587 GB, free: 9.461 MB / 1.279 GB Notification: Performance of Transformations before backend: time 6.064e-05/0.7652, allocations: 3.938 kB / 1.587 GB, free: 9.457 MB / 1.279 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.006614/0.7719, allocations: 2.794 MB / 1.589 GB, free: 6.605 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7719, allocations: 12.03 kB / 1.589 GB, free: 6.594 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/0.7762, allocations: 0.6658 MB / 1.59 GB, free: 5.926 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.7815, allocations: 2.707 MB / 1.593 GB, free: 3.176 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.7816, allocations: 90.09 kB / 1.593 GB, free: 3.086 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.7818, allocations: 108 kB / 1.593 GB, free: 2.98 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.7848, allocations: 1.573 MB / 1.594 GB, free: 1.266 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.7849, allocations: 7.891 kB / 1.594 GB, free: 1.258 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.785, allocations: 48 kB / 1.594 GB, free: 1.211 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.785, allocations: 31.94 kB / 1.594 GB, free: 1.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/0.7878, allocations: 1.116 MB / 1.596 GB, free: 68 kB / 1.279 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.008957/0.7967, allocations: 5.232 MB / 1.601 GB, free: 10.68 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.7988, allocations: 0.7723 MB / 1.601 GB, free: 9.887 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.7997, allocations: 371 kB / 1.602 GB, free: 9.52 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007116/0.8068, allocations: 1.874 MB / 1.604 GB, free: 7.641 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.8081, allocations: 0.6671 MB / 1.604 GB, free: 6.902 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.886e-06/0.8081, allocations: 4 kB / 1.604 GB, free: 6.898 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.9801/1.788, allocations: 18.68 MB / 1.622 GB, free: 240.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/1.788, allocations: 168.7 kB / 1.623 GB, free: 240.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/1.792, allocations: 1.964 MB / 1.625 GB, free: 240.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.792, allocations: 43.27 kB / 1.625 GB, free: 240.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007809/1.793, allocations: 0.8771 MB / 1.625 GB, free: 239.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/1.793, allocations: 309.1 kB / 1.626 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/1.793, allocations: 333.9 kB / 1.626 GB, free: 239.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/1.793, allocations: 308.4 kB / 1.626 GB, free: 238.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.795, allocations: 0.6488 MB / 1.627 GB, free: 238.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.797, allocations: 1.233 MB / 1.628 GB, free: 237.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/1.799, allocations: 1.626 MB / 1.63 GB, free: 236.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.799, allocations: 3.688 kB / 1.63 GB, free: 236.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005163/1.805, allocations: 2.099 MB / 1.632 GB, free: 235.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.805, allocations: 10.09 kB / 1.632 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.805, allocations: 10.78 kB / 1.632 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008189/1.805, allocations: 230.4 kB / 1.632 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.807, allocations: 304.2 kB / 1.632 GB, free: 235.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/1.811, allocations: 3.86 MB / 1.636 GB, free: 232.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/1.813, allocations: 113 kB / 1.636 GB, free: 232.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.813, allocations: 67.11 kB / 1.636 GB, free: 232.3 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.001154/1.815, allocations: 0.5676 MB / 1.637 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/1.815, allocations: 188.7 kB / 1.637 GB, free: 231.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/1.819, allocations: 1.492 MB / 1.639 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.819, allocations: 8.781 kB / 1.639 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.819, allocations: 9.859 kB / 1.639 GB, free: 231.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002729/1.822, allocations: 1.271 MB / 1.64 GB, free: 230.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02676/1.849, allocations: 8.027 MB / 1.648 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.849, allocations: 5.5 kB / 1.648 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/1.85, allocations: 179.2 kB / 1.648 GB, free: 228.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/1.85, allocations: 161.6 kB / 1.648 GB, free: 228.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/1.85, allocations: 30.02 kB / 1.648 GB, free: 228.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/1.853, allocations: 2.218 MB / 1.65 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.853, allocations: 10.81 kB / 1.65 GB, free: 226.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/1.858, allocations: 1.908 MB / 1.652 GB, free: 225.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.859, allocations: 320.4 kB / 1.652 GB, free: 225.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.859, allocations: 24.66 kB / 1.652 GB, free: 225.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.86, allocations: 91.97 kB / 1.652 GB, free: 225.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.86, allocations: 78.34 kB / 1.652 GB, free: 225.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/1.86, allocations: 37.89 kB / 1.653 GB, free: 225.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00196/1.862, allocations: 1.329 MB / 1.654 GB, free: 224.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.862, allocations: 0 / 1.654 GB, free: 224.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005663/1.868, allocations: 1.386 MB / 1.655 GB, free: 224.5 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.008683/1.877, allocations: 1.335 MB / 1.656 GB, free: 224.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003688/1.88, allocations: 1.576 MB / 1.658 GB, free: 223.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.88, allocations: 4.312 kB / 1.658 GB, free: 223.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.882, allocations: 0.6219 MB / 1.659 GB, free: 223.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.886, allocations: 0.8954 MB / 1.66 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/1.892, allocations: 3.909 MB / 1.663 GB, free: 219.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/1.893, allocations: 0.8924 MB / 1.664 GB, free: 219 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.893, allocations: 177.7 kB / 1.664 GB, free: 218.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.102e-06/1.893, allocations: 0 / 1.664 GB, free: 218.8 MB / 1.295 GB Notification: Performance of Templates: time 0.07807/1.971, allocations: 66.9 MB / 1.73 GB, free: 152.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.33030691416934]