Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.0007888/0.0007888, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001156/0.001156, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9407/0.9407, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.263e-05, allocations: 6.844 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006838/0.006861, allocations: 7.254 MB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.01039, allocations: 2.505 MB / 0.7695 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.01084, allocations: 27.81 kB / 0.7696 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.01127, allocations: 129.1 kB / 0.7697 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.01235, allocations: 0.5326 MB / 0.7702 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.01301, allocations: 372.1 kB / 0.7706 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.01425, allocations: 1.094 MB / 0.7716 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.01472, allocations: 277.7 kB / 0.7719 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.01576, allocations: 0.5381 MB / 0.7724 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.01616, allocations: 271.1 kB / 0.7727 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.01621, allocations: 32 kB / 0.7727 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.01651, allocations: 139.7 kB / 0.7728 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.01661, allocations: 99.61 kB / 0.7729 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.01675, allocations: 147.6 kB / 0.7731 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.01733, allocations: 401.1 kB / 0.7735 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.01734, allocations: 11.92 kB / 0.7735 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01734, allocations: 0 / 0.7735 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.01734, allocations: 0 / 0.7735 GB, free: 8.891 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000751/0.01809, allocations: 0.6386 MB / 0.7741 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.01812, allocations: 8.031 kB / 0.7741 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.01828, allocations: 60.83 kB / 0.7742 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.01866, allocations: 308.4 kB / 0.7744 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01868, allocations: 24.81 kB / 0.7745 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.01872, allocations: 29 kB / 0.7745 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.01903, allocations: 348.6 kB / 0.7748 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01904, allocations: 0 / 0.7748 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01906, allocations: 16.52 kB / 0.7748 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.01908, allocations: 4 kB / 0.7748 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.01919, allocations: 74.56 kB / 0.7749 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.02011, allocations: 0.9215 MB / 0.7758 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.02026, allocations: 78.47 kB / 0.7759 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.02029, allocations: 33.59 kB / 0.7759 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.02035, allocations: 12.59 kB / 0.7759 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.02051, allocations: 201 kB / 0.7761 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.02051, allocations: 0 / 0.7761 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001696/0.02068, allocations: 111 kB / 0.7762 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.02071, allocations: 55.41 kB / 0.7763 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.02089, allocations: 300.5 kB / 0.7766 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.02092, allocations: 33.7 kB / 0.7766 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.021, allocations: 193.9 kB / 0.7768 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.02103, allocations: 55.58 kB / 0.7768 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.02108, allocations: 52.12 kB / 0.7769 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.02117, allocations: 346.7 kB / 0.7772 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.02121, allocations: 49.69 kB / 0.7773 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.02129, allocations: 127.1 kB / 0.7774 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.02141, allocations: 178.5 kB / 0.7776 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02141, allocations: 0 / 0.7776 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001791/0.02159, allocations: 211.4 kB / 0.7778 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.02162, allocations: 39.25 kB / 0.7778 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.02163, allocations: 0.8125 kB / 0.7778 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.02164, allocations: 4 kB / 0.7778 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.02177, allocations: 56.81 kB / 0.7779 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.02177, allocations: 4 kB / 0.7779 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.02189, allocations: 37.05 kB / 0.7779 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.0219, allocations: 12 kB / 0.7779 GB, free: 3.992 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.02199, allocations: 129.7 kB / 0.778 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.02202, allocations: 23.97 kB / 0.7781 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.02215, allocations: 111.9 kB / 0.7782 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02216, allocations: 0 / 0.7782 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02216, allocations: 5.922 kB / 0.7782 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001501/0.02231, allocations: 403.8 kB / 0.7786 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.02251, allocations: 180.4 kB / 0.7787 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.02251, allocations: 0 / 0.7787 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.02258, allocations: 23.98 kB / 0.7788 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.02258, allocations: 0.9375 kB / 0.7788 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.0226, allocations: 11.94 kB / 0.7788 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.0226, allocations: 0.5312 kB / 0.7788 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.0226, allocations: 4.531 kB / 0.7788 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.02277, allocations: 151.7 kB / 0.7789 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.02283, allocations: 37.14 kB / 0.779 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.02285, allocations: 0 / 0.779 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.02294, allocations: 15.98 kB / 0.779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.02298, allocations: 13.41 kB / 0.779 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.02299, allocations: 12 kB / 0.779 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.02308, allocations: 111.4 kB / 0.7791 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02308, allocations: 0.6562 kB / 0.7791 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002441/0.02333, allocations: 119.7 kB / 0.7792 GB, free: 2.531 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.02352, allocations: 135.6 kB / 0.7793 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.0237, allocations: 175.1 kB / 0.7795 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.0237, allocations: 5.344 kB / 0.7795 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.02386, allocations: 47.3 kB / 0.7796 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.02456, allocations: 197.2 kB / 0.7797 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.0255, allocations: 0.5998 MB / 0.7803 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.0257, allocations: 93.14 kB / 0.7804 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.02584, allocations: 59 kB / 0.7805 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.02608, allocations: 174.2 kB / 0.7806 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of SimCode: time 9.81e-07/0.02608, allocations: 0 / 0.7806 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of Templates: time 0.008643/0.03473, allocations: 7.235 MB / 0.7877 GB, free: 10.05 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.287345985881984]