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.001304/0.001304, 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.001028/0.001028, 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.9928/0.9928, 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.953/1.953, 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 2.044e-06/2.044e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.838e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002647/0.002675, allocations: 1.65 MB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003836, allocations: 0.8195 MB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.003896, allocations: 3.938 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.003924, allocations: 7.938 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.004005, allocations: 17.7 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.004378, allocations: 101.4 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.004489, allocations: 59.67 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.004571, allocations: 12.73 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.004718, allocations: 39.89 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.004781, allocations: 22.11 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.004796, allocations: 4 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.004961, allocations: 71.92 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.004979, allocations: 11.94 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.004997, allocations: 4 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.005175, allocations: 117 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005178, allocations: 4 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005179, allocations: 0 / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.005184, allocations: 0 / 0.7629 GB, free: 3.66 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.000312/0.005496, allocations: 273.8 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.005531, allocations: 8.031 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.005813, allocations: 42.14 kB / 0.7633 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.006019, allocations: 136.7 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.006031, allocations: 4.375 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.006041, allocations: 4.375 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.006182, allocations: 74.84 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006192, allocations: 4.188 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.0062, allocations: 384 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006208, allocations: 3.938 kB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.006248, allocations: 22.67 kB / 0.7635 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.006508, allocations: 184.3 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.00659, allocations: 34.56 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/0.006613, allocations: 18.25 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.006629, allocations: 4 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.006656, allocations: 38.5 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006657, allocations: 0.6562 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.006802, allocations: 66.09 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.006828, allocations: 54.47 kB / 0.7639 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.006893, allocations: 121.2 kB / 0.764 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.006903, allocations: 25.7 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.006936, allocations: 100.1 kB / 0.7641 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.006956, allocations: 11.84 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.00699, allocations: 21.69 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.007128, allocations: 314.8 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.00715, allocations: 8 kB / 0.7645 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.00717, allocations: 15.28 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.007214, allocations: 28.78 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007216, allocations: 4 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.646e-05/0.007292, allocations: 49.69 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007305, allocations: 7.984 kB / 0.7646 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.00731, allocations: 3.938 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007322, allocations: 1.812 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.007404, allocations: 11.98 kB / 0.7646 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007406, allocations: 0 / 0.7646 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.007436, allocations: 7.984 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007443, allocations: 0.8125 kB / 0.7646 GB, free: 1.852 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 5.652e-05/0.0075, allocations: 113.8 kB / 0.7647 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.007519, allocations: 10.36 kB / 0.7647 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.007553, allocations: 15.94 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007555, allocations: 0 / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007556, allocations: 0 / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.007559, allocations: 3.938 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.007666, allocations: 80.67 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007668, allocations: 3.984 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.00771, allocations: 7.984 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007712, allocations: 4 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.00772, allocations: 3.984 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007721, allocations: 0 / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.007723, allocations: 3.938 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.007836, allocations: 153.1 kB / 0.765 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.007847, allocations: 3.953 kB / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007858, allocations: 0 / 0.765 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.007903, allocations: 5.281 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.007933, allocations: 11.86 kB / 0.765 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.007939, allocations: 4 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.89e-05/0.007958, allocations: 20.84 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007958, allocations: 0.5938 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001615/0.008119, allocations: 28.72 kB / 0.765 GB, free: 1.348 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.0001439/0.008263, allocations: 109.2 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.488e-05/0.008348, allocations: 25.66 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.008352, allocations: 0 / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.008383, allocations: 22.09 kB / 0.7652 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.008528, allocations: 19.86 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.008975, allocations: 169.5 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.009012, allocations: 56.08 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.587e-05/0.009068, allocations: 20.47 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.009127, allocations: 60.33 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.009128, allocations: 0 / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of Templates: time 0.00293/0.01206, allocations: 1.213 MB / 0.7667 GB, free: 15.68 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 -s gbode -gbm=radauIIA3 -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.909778587985784]