Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.0009341/0.0009341, 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.0009571/0.0009571, allocations: 161 kB / 24.17 MB, free: 328 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 4.992 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.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.975e-05, allocations: 2.312 kB / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002556/0.002576, allocations: 1.61 MB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.00381, allocations: 0.8157 MB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.003869, allocations: 4 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.003897, allocations: 3.938 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.003978, allocations: 18.34 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.004353, allocations: 109.8 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004467, allocations: 56.86 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.004543, allocations: 13.67 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.004678, allocations: 47.77 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.004737, allocations: 15.92 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004751, allocations: 4 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.004883, allocations: 68.62 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.004898, allocations: 7.984 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.004922, allocations: 16.47 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.005109, allocations: 109.7 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005112, allocations: 0 / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005113, allocations: 0 / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.005115, allocations: 0 / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003283/0.005444, allocations: 272.6 kB / 0.7631 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.005476, allocations: 8.031 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.005784, allocations: 46.38 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.005934, allocations: 138.4 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.005943, allocations: 2.562 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.005958, allocations: 8.375 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.006121, allocations: 70.91 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.006128, allocations: 192 / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.006138, allocations: 384 / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006144, allocations: 5.406 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.006195, allocations: 19.98 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.006492, allocations: 185.5 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.006597, allocations: 39.8 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.006628, allocations: 12.86 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.00664, allocations: 0 / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.006663, allocations: 45.55 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006664, allocations: 0 / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.006829, allocations: 61.55 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.006861, allocations: 51.41 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.006939, allocations: 122.1 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.00696, allocations: 29.64 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.006999, allocations: 96.11 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.007023, allocations: 18.59 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.007065, allocations: 21.69 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.007156, allocations: 314.8 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.007187, allocations: 7.984 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.007212, allocations: 8 kB / 0.7644 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.007273, allocations: 28.83 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007275, allocations: 0.75 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.856e-05/0.007374, allocations: 50.72 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007387, allocations: 4 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.007393, allocations: 7.938 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.007405, allocations: 4.781 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.007502, allocations: 12.53 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.007505, allocations: 0 / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.007549, allocations: 11.38 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.007559, allocations: 336 / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 6.873e-05/0.007627, allocations: 117.8 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.007656, allocations: 4 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.007692, allocations: 11.94 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.007695, allocations: 3.984 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.007698, allocations: 4 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007701, allocations: 3.031 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.007839, allocations: 77.88 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00784, allocations: 0 / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-05/0.007908, allocations: 15.92 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00791, allocations: 0 / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007918, allocations: 3.984 kB / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007918, allocations: 0 / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.00792, allocations: 5.688 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.008021, allocations: 155.5 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.008029, allocations: 3.953 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.008039, allocations: 0 / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.008083, allocations: 4.5 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.008107, allocations: 10.42 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.008111, allocations: 4 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.008128, allocations: 20.78 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008128, allocations: 0 / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001438/0.008272, allocations: 35.88 kB / 0.7649 GB, free: 1.398 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000111/0.008383, allocations: 108.2 kB / 0.765 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.008451, allocations: 28.78 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008453, allocations: 0 / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.008478, allocations: 20.84 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.008598, allocations: 11.98 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.008989, allocations: 172.2 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.009018, allocations: 58.45 kB / 0.7653 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.009062, allocations: 17.55 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.009113, allocations: 56.64 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.009113, allocations: 0 / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of Templates: time 0.002596/0.01171, allocations: 1.218 MB / 0.7666 GB, free: 15.73 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.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: 4.936001800000668]