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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.7 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.634/1.634, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.874/2.874, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 176.1 MB / 1.322 GB, free: 25.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2599/1.351, allocations: 193.6 MB / 1.511 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03947/1.391, allocations: 26.25 MB / 1.537 GB, free: 13.41 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/1.394, allocations: 91.31 kB / 1.537 GB, free: 13.32 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006302/1.4, allocations: 2.035 MB / 1.539 GB, free: 11.27 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.413, allocations: 4.501 MB / 1.543 GB, free: 6.758 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006524/1.42, allocations: 2.513 MB / 1.546 GB, free: 4.25 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01227/1.432, allocations: 7.485 MB / 1.553 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/1.435, allocations: 1.285 MB / 1.554 GB, free: 11.43 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007144/1.442, allocations: 2.667 MB / 1.557 GB, free: 8.754 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/1.445, allocations: 1.448 MB / 1.558 GB, free: 7.301 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005583/1.446, allocations: 208 kB / 1.558 GB, free: 7.098 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.456, allocations: 4.79 MB / 1.563 GB, free: 2.301 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.458, allocations: 0.6774 MB / 1.564 GB, free: 1.621 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/1.46, allocations: 1.213 MB / 1.565 GB, free: 412 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.473, allocations: 5.76 MB / 1.571 GB, free: 10.62 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.473, allocations: 4 kB / 1.571 GB, free: 10.62 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.404e-06/1.473, allocations: 0 / 1.571 GB, free: 10.62 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.493e-05/1.473, allocations: 4 kB / 1.571 GB, free: 10.62 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.007875/1.481, allocations: 2.909 MB / 1.573 GB, free: 7.633 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.481, allocations: 12.03 kB / 1.573 GB, free: 7.621 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/1.486, allocations: 0.662 MB / 1.574 GB, free: 6.957 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/1.492, allocations: 2.885 MB / 1.577 GB, free: 4.023 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.492, allocations: 82.09 kB / 1.577 GB, free: 3.941 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/1.492, allocations: 112 kB / 1.577 GB, free: 3.832 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/1.495, allocations: 1.339 MB / 1.578 GB, free: 2.406 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/1.495, allocations: 3.938 kB / 1.578 GB, free: 2.402 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.496, allocations: 44 kB / 1.578 GB, free: 2.359 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/1.496, allocations: 27.94 kB / 1.578 GB, free: 2.332 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/1.499, allocations: 1.124 MB / 1.579 GB, free: 1.207 MB / 1.248 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.01054/1.509, allocations: 6.787 MB / 1.586 GB, free: 10.04 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.511, allocations: 0.7637 MB / 1.587 GB, free: 9.254 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008935/1.512, allocations: 368.4 kB / 1.587 GB, free: 8.887 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007943/1.52, allocations: 2.841 MB / 1.59 GB, free: 5.801 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.521, allocations: 0.4897 MB / 1.59 GB, free: 5.289 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.515e-06/1.521, allocations: 0 / 1.59 GB, free: 5.289 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.0563/1.578, allocations: 18.86 MB / 1.609 GB, free: 2.34 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.578, allocations: 162.9 kB / 1.609 GB, free: 2.141 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.581, allocations: 2.028 MB / 1.611 GB, free: 72 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.581, allocations: 41.7 kB / 1.611 GB, free: 24 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009642/1.582, allocations: 0.8825 MB / 1.612 GB, free: 15.13 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/1.583, allocations: 293.5 kB / 1.612 GB, free: 14.84 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/1.583, allocations: 339.4 kB / 1.613 GB, free: 14.51 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.584, allocations: 301.1 kB / 1.613 GB, free: 14.21 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.585, allocations: 0.6559 MB / 1.613 GB, free: 13.55 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/1.587, allocations: 1.054 MB / 1.614 GB, free: 12.34 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/1.59, allocations: 1.633 MB / 1.616 GB, free: 10.57 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.59, allocations: 4 kB / 1.616 GB, free: 10.57 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005325/1.595, allocations: 2.095 MB / 1.618 GB, free: 8.461 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/1.595, allocations: 12 kB / 1.618 GB, free: 8.449 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.595, allocations: 8 kB / 1.618 GB, free: 8.441 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008613/1.596, allocations: 229.8 kB / 1.618 GB, free: 8.211 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/1.598, allocations: 303.6 kB / 1.619 GB, free: 7.914 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/1.603, allocations: 4.158 MB / 1.623 GB, free: 3.484 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.606, allocations: 119.8 kB / 1.623 GB, free: 3.367 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/1.606, allocations: 67.97 kB / 1.623 GB, free: 3.301 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.001198/1.607, allocations: 0.5578 MB / 1.623 GB, free: 2.734 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008528/1.608, allocations: 198.7 kB / 1.624 GB, free: 2.539 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004159/1.612, allocations: 1.489 MB / 1.625 GB, free: 1.035 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.612, allocations: 8 kB / 1.625 GB, free: 1.027 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.612, allocations: 4 kB / 1.625 GB, free: 1.023 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00299/1.615, allocations: 1.261 MB / 1.626 GB, free: 15.68 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.643, allocations: 9.296 MB / 1.635 GB, free: 6.039 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.643, allocations: 4 kB / 1.635 GB, free: 6.035 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/1.643, allocations: 188.4 kB / 1.636 GB, free: 5.852 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000598/1.644, allocations: 156.7 kB / 1.636 GB, free: 5.695 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/1.644, allocations: 27.98 kB / 1.636 GB, free: 5.668 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003616/1.648, allocations: 2.386 MB / 1.638 GB, free: 3.145 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.648, allocations: 7.938 kB / 1.638 GB, free: 3.137 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/1.653, allocations: 1.912 MB / 1.64 GB, free: 1.137 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.654, allocations: 407.7 kB / 1.64 GB, free: 0.7188 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/1.654, allocations: 24.19 kB / 1.64 GB, free: 0.6953 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.655, allocations: 91.84 kB / 1.64 GB, free: 0.6055 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.656, allocations: 76.36 kB / 1.641 GB, free: 0.5312 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/1.656, allocations: 35.98 kB / 1.641 GB, free: 0.4961 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002685/1.658, allocations: 1.402 MB / 1.642 GB, free: 15.07 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.11e-07/1.658, allocations: 0 / 1.642 GB, free: 15.07 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005401/1.664, allocations: 1.389 MB / 1.643 GB, free: 13.68 MB / 1.326 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.00789/1.672, allocations: 1.318 MB / 1.645 GB, free: 12.52 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004439/1.676, allocations: 1.583 MB / 1.646 GB, free: 10.91 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.676, allocations: 0 / 1.646 GB, free: 10.91 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.678, allocations: 0.6241 MB / 1.647 GB, free: 10.27 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.682, allocations: 0.9524 MB / 1.648 GB, free: 9.344 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007842/1.69, allocations: 3.902 MB / 1.651 GB, free: 5.336 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.692, allocations: 1.487 MB / 1.653 GB, free: 3.82 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/1.692, allocations: 175.4 kB / 1.653 GB, free: 3.648 MB / 1.326 GB Notification: Performance of SimCode: time 9.82e-07/1.692, allocations: 4 kB / 1.653 GB, free: 3.645 MB / 1.326 GB Notification: Performance of Templates: time 0.1058/1.798, allocations: 67.02 MB / 1.719 GB, free: 0.9844 MB / 1.389 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/jenkins1/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] "" Variables in the reference: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 Variables in the result:bui.Q_flow,bui.sta_a.p,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.p,bui.vol.sta_b.p,time [Calling sys.exit(0), Time elapsed: 21.6698048679973]