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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.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_latest_Buildings.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.001839/0.00184, allocations: 105.4 kB / 16.41 MB, free: 6.488 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.001939/0.001939, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.88 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9401/0.9417, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2133/1.155, allocations: 189.8 MB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04068/1.196, allocations: 26.04 MB / 1.419 GB, free: 4.934 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/1.199, allocations: 59.69 kB / 1.419 GB, free: 4.875 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006488/1.206, allocations: 1.999 MB / 1.421 GB, free: 2.867 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01295/1.219, allocations: 4.479 MB / 1.426 GB, free: 14.38 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006543/1.225, allocations: 2.393 MB / 1.428 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01209/1.237, allocations: 7.726 MB / 1.435 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/1.241, allocations: 1.578 MB / 1.437 GB, free: 2.637 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006678/1.248, allocations: 2.4 MB / 1.439 GB, free: 236 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/1.251, allocations: 1.413 MB / 1.441 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008596/1.251, allocations: 212 kB / 1.441 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.263, allocations: 4.712 MB / 1.446 GB, free: 9.887 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/1.264, allocations: 0.6738 MB / 1.446 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/1.266, allocations: 1.217 MB / 1.447 GB, free: 7.988 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/1.278, allocations: 5.759 MB / 1.453 GB, free: 2.215 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.278, allocations: 7.938 kB / 1.453 GB, free: 2.207 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.304e-06/1.278, allocations: 0 / 1.453 GB, free: 2.207 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.957e-05/1.278, allocations: 4 kB / 1.453 GB, free: 2.203 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007029/1.285, allocations: 2.846 MB / 1.456 GB, free: 15.29 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.285, allocations: 12.03 kB / 1.456 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/1.29, allocations: 0.6489 MB / 1.456 GB, free: 14.62 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005576/1.296, allocations: 2.871 MB / 1.459 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/1.296, allocations: 86.11 kB / 1.459 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.296, allocations: 115.9 kB / 1.459 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/1.299, allocations: 1.34 MB / 1.461 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.299, allocations: 3.938 kB / 1.461 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/1.299, allocations: 47.94 kB / 1.461 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/1.299, allocations: 45.98 kB / 1.461 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/1.301, allocations: 1.128 MB / 1.462 GB, free: 8.848 MB / 1.186 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.00901/1.311, allocations: 6.825 MB / 1.469 GB, free: 1.645 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.312, allocations: 0.7916 MB / 1.469 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/1.313, allocations: 388.1 kB / 1.47 GB, free: 452 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007385/1.321, allocations: 2.825 MB / 1.473 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/1.322, allocations: 0.5014 MB / 1.473 GB, free: 12.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=69): time 4.248e-06/1.322, allocations: 0 / 1.473 GB, free: 12.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.0571/1.379, allocations: 18.9 MB / 1.491 GB, free: 9.84 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.379, allocations: 166.9 kB / 1.492 GB, free: 9.637 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.383, allocations: 2.021 MB / 1.494 GB, free: 7.574 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/1.383, allocations: 49.7 kB / 1.494 GB, free: 7.52 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008695/1.384, allocations: 0.8616 MB / 1.494 GB, free: 6.648 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/1.384, allocations: 303.8 kB / 1.495 GB, free: 6.348 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/1.385, allocations: 343.2 kB / 1.495 GB, free: 6.008 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.385, allocations: 301.1 kB / 1.495 GB, free: 5.711 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.387, allocations: 0.6481 MB / 1.496 GB, free: 5.062 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.388, allocations: 1.073 MB / 1.497 GB, free: 3.824 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/1.391, allocations: 1.629 MB / 1.499 GB, free: 2.055 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.391, allocations: 0 / 1.499 GB, free: 2.055 MB / 1.217 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004948/1.396, allocations: 2.113 MB / 1.501 GB, free: 15.92 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.396, allocations: 17.86 kB / 1.501 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.396, allocations: 8 kB / 1.501 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/1.397, allocations: 226 kB / 1.501 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.398, allocations: 319.5 kB / 1.501 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/1.403, allocations: 4.151 MB / 1.505 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.406, allocations: 107.9 kB / 1.505 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/1.406, allocations: 75.95 kB / 1.506 GB, free: 10.75 MB / 1.232 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.001238/1.407, allocations: 0.5573 MB / 1.506 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/1.408, allocations: 201.4 kB / 1.506 GB, free: 9.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/1.412, allocations: 1.48 MB / 1.508 GB, free: 8.496 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.412, allocations: 8 kB / 1.508 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.412, allocations: 0 / 1.508 GB, free: 8.488 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002704/1.415, allocations: 1.269 MB / 1.509 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02874/1.443, allocations: 9.32 MB / 1.518 GB, free: 13.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.443, allocations: 4 kB / 1.518 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/1.444, allocations: 180.2 kB / 1.518 GB, free: 13.3 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006405/1.445, allocations: 156.7 kB / 1.518 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/1.445, allocations: 31.98 kB / 1.518 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/1.449, allocations: 2.377 MB / 1.521 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.449, allocations: 8 kB / 1.521 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.453, allocations: 1.9 MB / 1.523 GB, free: 8.598 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.454, allocations: 406.5 kB / 1.523 GB, free: 8.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/1.455, allocations: 24.19 kB / 1.523 GB, free: 8.156 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.456, allocations: 95.75 kB / 1.523 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.457, allocations: 72.36 kB / 1.523 GB, free: 7.988 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/1.457, allocations: 39.98 kB / 1.523 GB, free: 7.949 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002756/1.459, allocations: 1.414 MB / 1.525 GB, free: 6.516 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.4e-07/1.459, allocations: 4 kB / 1.525 GB, free: 6.512 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004868/1.464, allocations: 1.379 MB / 1.526 GB, free: 5.133 MB / 1.248 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.007423/1.472, allocations: 1.318 MB / 1.527 GB, free: 3.977 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004206/1.476, allocations: 1.652 MB / 1.529 GB, free: 2.301 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.476, allocations: 0 / 1.529 GB, free: 2.301 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.478, allocations: 0.6523 MB / 1.529 GB, free: 1.641 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/1.483, allocations: 0.9569 MB / 1.53 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/1.491, allocations: 3.816 MB / 1.534 GB, free: 12.79 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.492, allocations: 1.491 MB / 1.536 GB, free: 11.27 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/1.493, allocations: 179.4 kB / 1.536 GB, free: 11.1 MB / 1.264 GB Notification: Performance of SimCode: time 1.173e-06/1.493, allocations: 0 / 1.536 GB, free: 11.1 MB / 1.264 GB Notification: Performance of Templates: time 0.8077/2.301, allocations: 67.12 MB / 1.601 GB, free: 322.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) 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) "" 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