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.00177/0.00177, allocations: 106.7 kB / 16.27 MB, free: 5.969 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.001871/0.001872, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 62.88 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.335, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8085/1.143, allocations: 189.9 MB / 1.25 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03505/1.179, allocations: 26.03 MB / 1.275 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/1.182, allocations: 59.69 kB / 1.275 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/1.193, allocations: 4.932 MB / 1.28 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/1.205, allocations: 3.865 MB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006086/1.211, allocations: 2.125 MB / 1.286 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01105/1.222, allocations: 7.398 MB / 1.293 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/1.225, allocations: 1.535 MB / 1.294 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006264/1.231, allocations: 2.302 MB / 1.297 GB, free: 10.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/1.234, allocations: 1.365 MB / 1.298 GB, free: 9.617 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000727/1.235, allocations: 196 kB / 1.298 GB, free: 9.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.245, allocations: 4.529 MB / 1.303 GB, free: 4.891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/1.246, allocations: 0.6542 MB / 1.303 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/1.249, allocations: 1.205 MB / 1.305 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.26, allocations: 5.614 MB / 1.31 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.26, allocations: 0 / 1.31 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/1.26, allocations: 0 / 1.31 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001266/1.26, allocations: 4 kB / 1.31 GB, free: 13.39 MB / 1.029 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.007711/1.268, allocations: 2.792 MB / 1.313 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.268, allocations: 8.625 kB / 1.313 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.273, allocations: 0.6373 MB / 1.313 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/1.279, allocations: 2.777 MB / 1.316 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.279, allocations: 94.03 kB / 1.316 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/1.279, allocations: 112 kB / 1.316 GB, free: 6.848 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/1.283, allocations: 1.334 MB / 1.318 GB, free: 5.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/1.283, allocations: 15.78 kB / 1.318 GB, free: 5.414 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/1.283, allocations: 52 kB / 1.318 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/1.283, allocations: 38 kB / 1.318 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/1.286, allocations: 1.124 MB / 1.319 GB, free: 4.203 MB / 1.029 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.01059/1.297, allocations: 6.793 MB / 1.325 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.299, allocations: 0.8763 MB / 1.326 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/1.3, allocations: 396.1 kB / 1.327 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007406/1.307, allocations: 2.802 MB / 1.329 GB, free: 8.676 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/1.308, allocations: 0.4896 MB / 1.33 GB, free: 8.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=69): time 3.958e-06/1.309, allocations: 4 kB / 1.33 GB, free: 8.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=83): time 0.05764/1.366, allocations: 18.73 MB / 1.348 GB, free: 5.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.366, allocations: 166.9 kB / 1.348 GB, free: 5.113 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/1.37, allocations: 1.982 MB / 1.35 GB, free: 3.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.37, allocations: 49.7 kB / 1.35 GB, free: 3.035 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/1.371, allocations: 0.8615 MB / 1.351 GB, free: 2.164 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/1.372, allocations: 303.8 kB / 1.351 GB, free: 1.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/1.373, allocations: 339.3 kB / 1.352 GB, free: 1.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.373, allocations: 301.1 kB / 1.352 GB, free: 1.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.374, allocations: 0.6481 MB / 1.353 GB, free: 0.582 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.376, allocations: 1.062 MB / 1.354 GB, free: 15.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/1.379, allocations: 1.633 MB / 1.355 GB, free: 13.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.379, allocations: 0 / 1.355 GB, free: 13.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005152/1.384, allocations: 2.113 MB / 1.357 GB, free: 11.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/1.384, allocations: 12.03 kB / 1.357 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.384, allocations: 16 kB / 1.357 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008367/1.385, allocations: 217.5 kB / 1.358 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.386, allocations: 315.5 kB / 1.358 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/1.392, allocations: 4.168 MB / 1.362 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/1.394, allocations: 112.9 kB / 1.362 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/1.394, allocations: 71.92 kB / 1.362 GB, free: 6.281 MB / 1.076 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.001437/1.396, allocations: 0.5662 MB / 1.363 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009344/1.397, allocations: 189.6 kB / 1.363 GB, free: 5.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/1.401, allocations: 1.481 MB / 1.364 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.401, allocations: 8 kB / 1.364 GB, free: 4.016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.401, allocations: 4 kB / 1.364 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002763/1.404, allocations: 1.261 MB / 1.366 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.431, allocations: 9.209 MB / 1.375 GB, free: 9.117 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.431, allocations: 4 kB / 1.375 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/1.432, allocations: 184 kB / 1.375 GB, free: 8.934 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/1.433, allocations: 156.7 kB / 1.375 GB, free: 8.777 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.433, allocations: 44.11 kB / 1.375 GB, free: 8.734 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/1.436, allocations: 2.365 MB / 1.377 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.436, allocations: 7.938 kB / 1.377 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/1.44, allocations: 1.887 MB / 1.379 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.441, allocations: 402.5 kB / 1.379 GB, free: 3.836 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/1.442, allocations: 28.06 kB / 1.379 GB, free: 3.809 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.444, allocations: 83.92 kB / 1.38 GB, free: 3.727 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/1.444, allocations: 80.28 kB / 1.38 GB, free: 3.648 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/1.444, allocations: 39.98 kB / 1.38 GB, free: 3.609 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00285/1.447, allocations: 1.371 MB / 1.381 GB, free: 2.219 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.31e-07/1.447, allocations: 0 / 1.381 GB, free: 2.219 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004928/1.452, allocations: 1.371 MB / 1.382 GB, free: 0.8477 MB / 1.092 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.007199/1.459, allocations: 1.292 MB / 1.384 GB, free: 15.71 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.004579/1.464, allocations: 1.702 MB / 1.385 GB, free: 13.99 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.464, allocations: 1.938 kB / 1.385 GB, free: 13.99 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/1.465, allocations: 0.6432 MB / 1.386 GB, free: 13.33 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/1.47, allocations: 0.9517 MB / 1.387 GB, free: 12.41 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00787/1.478, allocations: 3.843 MB / 1.391 GB, free: 8.461 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.48, allocations: 1.498 MB / 1.392 GB, free: 6.926 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/1.481, allocations: 175.4 kB / 1.392 GB, free: 6.754 MB / 1.107 GB Notification: Performance of SimCode: time 9.11e-07/1.481, allocations: 0 / 1.392 GB, free: 6.754 MB / 1.107 GB Notification: Performance of Templates: time 0.1015/1.582, allocations: 66.4 MB / 1.457 GB, free: 4.742 MB / 1.17 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