Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 104.8 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 68.06 kB / 0.8699 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3399, allocations: 151.6 MB / 1.018 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8847/1.225, allocations: 189.9 MB / 1.203 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03656/1.261, allocations: 26.05 MB / 1.229 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004318/1.266, allocations: 63.59 kB / 1.229 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/1.278, allocations: 4.936 MB / 1.234 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/1.291, allocations: 3.855 MB / 1.237 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/1.297, allocations: 2.126 MB / 1.24 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01169/1.309, allocations: 7.401 MB / 1.247 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/1.312, allocations: 1.549 MB / 1.248 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/1.318, allocations: 2.309 MB / 1.251 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/1.321, allocations: 1.361 MB / 1.252 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007008/1.322, allocations: 200 kB / 1.252 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/1.332, allocations: 4.521 MB / 1.256 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/1.333, allocations: 0.6581 MB / 1.257 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/1.336, allocations: 1.209 MB / 1.258 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/1.349, allocations: 5.708 MB / 1.264 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.349, allocations: 0 / 1.264 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/1.349, allocations: 4 kB / 1.264 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001219/1.349, allocations: 0 / 1.264 GB, free: 13.5 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007984/1.357, allocations: 2.792 MB / 1.267 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.357, allocations: 16.86 kB / 1.267 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/1.362, allocations: 0.6412 MB / 1.267 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/1.367, allocations: 2.774 MB / 1.27 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.368, allocations: 90.09 kB / 1.27 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/1.368, allocations: 112 kB / 1.27 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/1.371, allocations: 1.336 MB / 1.271 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.371, allocations: 15.88 kB / 1.271 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.371, allocations: 44 kB / 1.272 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/1.371, allocations: 41.98 kB / 1.272 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/1.374, allocations: 1.12 MB / 1.273 GB, free: 4.309 MB / 0.9669 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.00927/1.383, allocations: 6.801 MB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/1.385, allocations: 0.8669 MB / 1.28 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/1.386, allocations: 396.3 kB / 1.281 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007357/1.393, allocations: 2.802 MB / 1.283 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/1.394, allocations: 497.5 kB / 1.284 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=69): time 2.935e-06/1.394, allocations: 4 kB / 1.284 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.05471/1.449, allocations: 18.75 MB / 1.302 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/1.449, allocations: 166.9 kB / 1.302 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/1.452, allocations: 1.982 MB / 1.304 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/1.452, allocations: 45.7 kB / 1.304 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/1.453, allocations: 0.8693 MB / 1.305 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/1.454, allocations: 299.8 kB / 1.305 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/1.454, allocations: 343.2 kB / 1.306 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.454, allocations: 301.1 kB / 1.306 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/1.456, allocations: 0.6481 MB / 1.307 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/1.457, allocations: 1.058 MB / 1.308 GB, free: 15.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/1.46, allocations: 1.637 MB / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/1.46, allocations: 0 / 1.309 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00492/1.465, allocations: 2.113 MB / 1.311 GB, free: 11.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.465, allocations: 8 kB / 1.311 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.465, allocations: 15.94 kB / 1.311 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/1.466, allocations: 225.6 kB / 1.312 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.467, allocations: 311.5 kB / 1.312 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/1.472, allocations: 4.162 MB / 1.316 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.475, allocations: 112.3 kB / 1.316 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.475, allocations: 67.98 kB / 1.316 GB, free: 6.391 MB / 1.014 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 (162): * Single equations (assignments): 158 * 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.001027/1.476, allocations: 0.5637 MB / 1.317 GB, free: 5.816 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006596/1.476, allocations: 189.6 kB / 1.317 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/1.48, allocations: 1.495 MB / 1.318 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.48, allocations: 8 kB / 1.318 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.48, allocations: 7.984 kB / 1.318 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002565/1.483, allocations: 1.261 MB / 1.319 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.508, allocations: 9.22 MB / 1.328 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.508, allocations: 4 kB / 1.328 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/1.509, allocations: 188.1 kB / 1.329 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/1.509, allocations: 152.8 kB / 1.329 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/1.509, allocations: 39.91 kB / 1.329 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/1.512, allocations: 2.358 MB / 1.331 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/1.512, allocations: 11.88 kB / 1.331 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/1.517, allocations: 1.884 MB / 1.333 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/1.518, allocations: 394.5 kB / 1.333 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/1.518, allocations: 27.98 kB / 1.333 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.519, allocations: 83.86 kB / 1.333 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.519, allocations: 84.3 kB / 1.334 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/1.52, allocations: 31.98 kB / 1.334 GB, free: 3.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002218/1.522, allocations: 1.379 MB / 1.335 GB, free: 2.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.522, allocations: 0 / 1.335 GB, free: 2.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004608/1.526, allocations: 1.367 MB / 1.336 GB, free: 0.9844 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],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 (82): * Single equations (assignments): 79 * 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.006681/1.533, allocations: 1.308 MB / 1.338 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004516/1.538, allocations: 1.707 MB / 1.339 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.538, allocations: 4 kB / 1.339 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.539, allocations: 0.64 MB / 1.34 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/1.544, allocations: 0.9711 MB / 1.341 GB, free: 12.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/1.55, allocations: 3.841 MB / 1.345 GB, free: 8.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.551, allocations: 1.495 MB / 1.346 GB, free: 7.043 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/1.552, allocations: 171.4 kB / 1.346 GB, free: 6.875 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/1.552, allocations: 3.938 kB / 1.346 GB, free: 6.871 MB / 1.045 GB Notification: Performance of Templates: time 0.09425/1.646, allocations: 66.68 MB / 1.411 GB, free: 4.598 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bui.Q_flow,bui.vol.m_flow,bui.vol.sta_a.T,bui.vol.sta_b.T,bui.sta_a.p,bui.vol.sta_a.p,bui.vol.sta_b.p,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow Variables in the result:bui.Q_flow,bui.sta_a.p,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.T,bui.vol.sta_a.p,bui.vol.sta_b.T,bui.vol.sta_b.p,time