Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 190.1 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.251/3.251, allocations: 495.8 MB / 0.783 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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_12_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_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 70.31 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3799, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2299/0.6097, allocations: 189.3 MB / 1.492 GB, free: 3.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04448/0.6542, allocations: 26.13 MB / 1.517 GB, free: 9.707 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/0.6579, allocations: 79.38 kB / 1.517 GB, free: 9.629 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006842/0.6648, allocations: 2.092 MB / 1.519 GB, free: 7.531 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/0.6781, allocations: 4.551 MB / 1.524 GB, free: 2.965 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007188/0.6853, allocations: 2.599 MB / 1.526 GB, free: 380 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.6986, allocations: 7.665 MB / 1.534 GB, free: 8.691 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.7013, allocations: 1.255 MB / 1.535 GB, free: 7.402 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007324/0.7087, allocations: 2.71 MB / 1.538 GB, free: 4.688 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.712, allocations: 1.456 MB / 1.539 GB, free: 3.227 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.7126, allocations: 208 kB / 1.539 GB, free: 3.023 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.7229, allocations: 4.376 MB / 1.543 GB, free: 14.64 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.7241, allocations: 0.6852 MB / 1.544 GB, free: 13.95 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.7262, allocations: 1.201 MB / 1.545 GB, free: 12.75 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.7394, allocations: 5.663 MB / 1.551 GB, free: 7.066 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.7394, allocations: 4 kB / 1.551 GB, free: 7.062 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7394, allocations: 0 / 1.551 GB, free: 7.062 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.601e-05/0.7395, allocations: 0 / 1.551 GB, free: 7.062 MB / 1.248 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.01168/0.7512, allocations: 2.822 MB / 1.554 GB, free: 4.184 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.7512, allocations: 12.03 kB / 1.554 GB, free: 4.172 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.7565, allocations: 0.6658 MB / 1.554 GB, free: 3.504 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/0.7638, allocations: 2.785 MB / 1.557 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.7639, allocations: 86.09 kB / 1.557 GB, free: 0.5898 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/0.7641, allocations: 120 kB / 1.557 GB, free: 484 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.7674, allocations: 1.331 MB / 1.558 GB, free: 15.05 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.7674, allocations: 4 kB / 1.558 GB, free: 15.05 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.7676, allocations: 44 kB / 1.558 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.7676, allocations: 31.94 kB / 1.559 GB, free: 14.97 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.7708, allocations: 1.124 MB / 1.56 GB, free: 13.85 MB / 1.264 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.01229/0.7831, allocations: 6.706 MB / 1.566 GB, free: 6.773 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.7853, allocations: 0.7726 MB / 1.567 GB, free: 5.977 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/0.7862, allocations: 368.4 kB / 1.567 GB, free: 5.609 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007398/0.7936, allocations: 1.866 MB / 1.569 GB, free: 3.742 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.7952, allocations: 0.4952 MB / 1.57 GB, free: 3.219 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.707e-06/0.7952, allocations: 4 kB / 1.57 GB, free: 3.215 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.06052/0.8557, allocations: 18.69 MB / 1.588 GB, free: 488 kB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.8558, allocations: 166.9 kB / 1.588 GB, free: 284 kB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/0.8601, allocations: 2.008 MB / 1.59 GB, free: 14.23 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.8604, allocations: 41.7 kB / 1.59 GB, free: 14.18 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/0.8615, allocations: 0.8785 MB / 1.591 GB, free: 13.29 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.862, allocations: 301.5 kB / 1.591 GB, free: 13 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007571/0.8628, allocations: 347.4 kB / 1.591 GB, free: 12.65 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8629, allocations: 305.1 kB / 1.592 GB, free: 12.35 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.8645, allocations: 0.652 MB / 1.592 GB, free: 11.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.8664, allocations: 1.062 MB / 1.593 GB, free: 10.48 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.8697, allocations: 1.63 MB / 1.595 GB, free: 8.703 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.8697, allocations: 4 kB / 1.595 GB, free: 8.699 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00559/0.8753, allocations: 2.116 MB / 1.597 GB, free: 6.57 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.8754, allocations: 11.94 kB / 1.597 GB, free: 6.559 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.8754, allocations: 12.47 kB / 1.597 GB, free: 6.547 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008923/0.8763, allocations: 229.5 kB / 1.597 GB, free: 6.316 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.8776, allocations: 299.5 kB / 1.598 GB, free: 6.023 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.8832, allocations: 3.958 MB / 1.601 GB, free: 1.852 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.8856, allocations: 120.7 kB / 1.602 GB, free: 1.734 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.8859, allocations: 71.92 kB / 1.602 GB, free: 1.664 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.001431/0.8874, allocations: 0.556 MB / 1.602 GB, free: 1.098 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.8884, allocations: 194.7 kB / 1.602 GB, free: 0.9062 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9441/1.832, allocations: 1.486 MB / 1.604 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.833, allocations: 8.969 kB / 1.604 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.833, allocations: 3 kB / 1.604 GB, free: 284.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002901/1.835, allocations: 1.263 MB / 1.605 GB, free: 284.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.863, allocations: 8.437 MB / 1.613 GB, free: 283.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.863, allocations: 5.844 kB / 1.613 GB, free: 283.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/1.864, allocations: 181.4 kB / 1.613 GB, free: 283.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006561/1.864, allocations: 155.7 kB / 1.614 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.151e-05/1.864, allocations: 33.56 kB / 1.614 GB, free: 283 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/1.868, allocations: 2.283 MB / 1.616 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.65e-05/1.868, allocations: 10 kB / 1.616 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/1.873, allocations: 1.905 MB / 1.618 GB, free: 280.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.874, allocations: 328.2 kB / 1.618 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/1.875, allocations: 25.98 kB / 1.618 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.876, allocations: 90.89 kB / 1.618 GB, free: 280.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.876, allocations: 76.05 kB / 1.618 GB, free: 280.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/1.876, allocations: 40.5 kB / 1.618 GB, free: 280.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002591/1.879, allocations: 1.394 MB / 1.62 GB, free: 279.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.879, allocations: 0 / 1.62 GB, free: 279.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005323/1.884, allocations: 1.39 MB / 1.621 GB, free: 279.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 (80): * Single equations (assignments): 77 * 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.00776/1.892, allocations: 1.32 MB / 1.622 GB, free: 279.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00411/1.896, allocations: 1.578 MB / 1.624 GB, free: 278.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.896, allocations: 1.25 kB / 1.624 GB, free: 278.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.898, allocations: 0.6303 MB / 1.624 GB, free: 278.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.903, allocations: 0.9596 MB / 1.625 GB, free: 278.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/1.91, allocations: 3.805 MB / 1.629 GB, free: 276.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.912, allocations: 1.483 MB / 1.631 GB, free: 275.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001922/1.914, allocations: 398.8 kB / 1.631 GB, free: 275.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.914, allocations: 166.6 kB / 1.631 GB, free: 275.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.352e-06/1.914, allocations: 0 / 1.631 GB, free: 275.2 MB / 1.295 GB Notification: Performance of Templates: time 0.08865/2.003, allocations: 71.85 MB / 1.701 GB, free: 216.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.951405168510973]