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.001432/0.001433, allocations: 109.2 kB / 16.41 MB, free: 6.441 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.001293/0.001293, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 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.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9729/0.9744, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2051/1.18, allocations: 189.9 MB / 1.353 GB, free: 5.258 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0361/1.216, allocations: 26.08 MB / 1.378 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00346/1.219, allocations: 59.69 kB / 1.378 GB, free: 11.05 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006354/1.226, allocations: 2.001 MB / 1.38 GB, free: 9.039 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/1.239, allocations: 4.465 MB / 1.385 GB, free: 4.562 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006751/1.246, allocations: 2.4 MB / 1.387 GB, free: 2.168 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01249/1.258, allocations: 7.723 MB / 1.394 GB, free: 10.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/1.262, allocations: 1.57 MB / 1.396 GB, free: 8.828 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006459/1.268, allocations: 2.4 MB / 1.398 GB, free: 6.422 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/1.272, allocations: 1.424 MB / 1.4 GB, free: 4.992 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007856/1.272, allocations: 208 kB / 1.4 GB, free: 4.789 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/1.285, allocations: 4.716 MB / 1.405 GB, free: 68 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001544/1.287, allocations: 0.666 MB / 1.405 GB, free: 15.4 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003274/1.29, allocations: 1.221 MB / 1.406 GB, free: 14.17 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/1.306, allocations: 5.868 MB / 1.412 GB, free: 8.289 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/1.306, allocations: 0 / 1.412 GB, free: 8.289 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.116e-06/1.306, allocations: 0 / 1.412 GB, free: 8.289 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001821/1.306, allocations: 0 / 1.412 GB, free: 8.289 MB / 1.139 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.01085/1.317, allocations: 2.846 MB / 1.415 GB, free: 5.371 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.317, allocations: 12.92 kB / 1.415 GB, free: 5.359 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/1.322, allocations: 0.6528 MB / 1.416 GB, free: 4.703 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.329, allocations: 2.867 MB / 1.418 GB, free: 1.785 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.329, allocations: 90.11 kB / 1.418 GB, free: 1.695 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/1.329, allocations: 123.9 kB / 1.419 GB, free: 1.574 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/1.333, allocations: 1.342 MB / 1.42 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/1.333, allocations: 3.938 kB / 1.42 GB, free: 148 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.333, allocations: 51.88 kB / 1.42 GB, free: 96 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/1.333, allocations: 38 kB / 1.42 GB, free: 60 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/1.336, allocations: 1.128 MB / 1.421 GB, free: 14.93 MB / 1.154 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.0112/1.347, allocations: 6.833 MB / 1.428 GB, free: 7.723 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/1.349, allocations: 0.7979 MB / 1.428 GB, free: 6.898 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008171/1.35, allocations: 392 kB / 1.429 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00731/1.357, allocations: 2.837 MB / 1.432 GB, free: 3.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/1.359, allocations: 0.4975 MB / 1.432 GB, free: 2.91 MB / 1.154 GB Notification: Performance of pre-optimization done (n=69): time 4.549e-06/1.359, allocations: 4 kB / 1.432 GB, free: 2.906 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.05467/1.413, allocations: 18.88 MB / 1.451 GB, free: 15.92 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.414, allocations: 170.9 kB / 1.451 GB, free: 15.72 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/1.418, allocations: 2.021 MB / 1.453 GB, free: 13.65 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/1.418, allocations: 49.7 kB / 1.453 GB, free: 13.6 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009199/1.419, allocations: 0.8615 MB / 1.454 GB, free: 12.73 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/1.419, allocations: 299.8 kB / 1.454 GB, free: 12.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007434/1.42, allocations: 343.2 kB / 1.454 GB, free: 12.09 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.42, allocations: 301.1 kB / 1.454 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.422, allocations: 0.652 MB / 1.455 GB, free: 11.14 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.424, allocations: 1.073 MB / 1.456 GB, free: 9.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/1.426, allocations: 1.633 MB / 1.458 GB, free: 8.133 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.426, allocations: 0 / 1.458 GB, free: 8.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004749/1.431, allocations: 2.116 MB / 1.46 GB, free: 6 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/1.431, allocations: 12 kB / 1.46 GB, free: 5.988 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.431, allocations: 8 kB / 1.46 GB, free: 5.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007786/1.432, allocations: 221.9 kB / 1.46 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.433, allocations: 319.5 kB / 1.46 GB, free: 5.445 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/1.438, allocations: 4.158 MB / 1.464 GB, free: 1.012 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.44, allocations: 107.9 kB / 1.465 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.44, allocations: 67.98 kB / 1.465 GB, free: 0.8398 MB / 1.186 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.001081/1.442, allocations: 0.5615 MB / 1.465 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000633/1.442, allocations: 197.5 kB / 1.465 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/1.446, allocations: 1.49 MB / 1.467 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.446, allocations: 8 kB / 1.467 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.446, allocations: 0 / 1.467 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002571/1.448, allocations: 1.269 MB / 1.468 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.474, allocations: 9.323 MB / 1.477 GB, free: 3.582 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/1.474, allocations: 4 kB / 1.477 GB, free: 3.578 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008921/1.475, allocations: 180 kB / 1.477 GB, free: 3.402 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/1.475, allocations: 160.7 kB / 1.477 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/1.476, allocations: 27.98 kB / 1.477 GB, free: 3.215 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/1.479, allocations: 2.381 MB / 1.48 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.479, allocations: 12.06 kB / 1.48 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/1.484, allocations: 1.896 MB / 1.482 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.485, allocations: 406.5 kB / 1.482 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/1.486, allocations: 28.06 kB / 1.482 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.487, allocations: 95.94 kB / 1.482 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.488, allocations: 76.3 kB / 1.482 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.488, allocations: 39.98 kB / 1.482 GB, free: 14.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003068/1.491, allocations: 1.41 MB / 1.484 GB, free: 12.61 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.4e-07/1.491, allocations: 0 / 1.484 GB, free: 12.61 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005575/1.497, allocations: 1.379 MB / 1.485 GB, free: 11.23 MB / 1.217 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.007657/1.504, allocations: 1.326 MB / 1.486 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004429/1.509, allocations: 1.669 MB / 1.488 GB, free: 8.324 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.509, allocations: 7.938 kB / 1.488 GB, free: 8.316 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.51, allocations: 0.6398 MB / 1.489 GB, free: 7.66 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/1.516, allocations: 0.9538 MB / 1.489 GB, free: 6.73 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/1.523, allocations: 3.804 MB / 1.493 GB, free: 2.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.524, allocations: 1.502 MB / 1.495 GB, free: 1.285 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007132/1.525, allocations: 171.4 kB / 1.495 GB, free: 1.117 MB / 1.217 GB Notification: Performance of SimCode: time 8.51e-07/1.525, allocations: 4 kB / 1.495 GB, free: 1.113 MB / 1.217 GB Notification: Performance of Templates: time 0.7891/2.314, allocations: 67.42 MB / 1.561 GB, free: 373.9 MB / 1.279 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