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.001047/0.001047, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001169/0.001169, allocations: 169.3 kB / 24.28 MB, free: 280 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.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.915/1.915, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.213e-06/1.213e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.413e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002119/0.002143, allocations: 1.61 MB / 0.8131 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003443, allocations: 0.8044 MB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.003488, allocations: 0.5 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.003511, allocations: 3.938 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.003563, allocations: 20.92 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.003846, allocations: 105.5 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.003943, allocations: 55.73 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.004019, allocations: 11.98 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.004125, allocations: 48.92 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.004168, allocations: 15.98 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.00418, allocations: 0.9375 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.004291, allocations: 71.88 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.004303, allocations: 7.984 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.004327, allocations: 16.84 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004476, allocations: 103.7 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004479, allocations: 1.031 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00448, allocations: 3.938 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.004484, allocations: 0 / 0.8143 GB, free: 15.21 MB / 0.7761 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.0003361/0.00482, allocations: 401.6 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.004853, allocations: 8.031 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.005133, allocations: 42.78 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005287, allocations: 154.7 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.005295, allocations: 384 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.005305, allocations: 2.062 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.005461, allocations: 78.91 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-06/0.005465, allocations: 1.094 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.005474, allocations: 384 / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.996e-06/0.005482, allocations: 7.922 kB / 0.815 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.005539, allocations: 28.5 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.005877, allocations: 296.8 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.005989, allocations: 60.19 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.006025, allocations: 16.19 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.006044, allocations: 8.922 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.006065, allocations: 37.33 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.006067, allocations: 0.8438 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002151/0.006282, allocations: 85.55 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.006312, allocations: 52.69 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.006401, allocations: 177.9 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.006413, allocations: 25.7 kB / 0.8158 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.006465, allocations: 139.7 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.006488, allocations: 15.89 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.006523, allocations: 24.42 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.00664, allocations: 0.4923 MB / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.006674, allocations: 8 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.006702, allocations: 17.36 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.006762, allocations: 35.89 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006764, allocations: 1.375 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.00687, allocations: 77.48 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.006885, allocations: 4 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00689, allocations: 6.969 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.006903, allocations: 0 / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.00699, allocations: 11.98 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.006995, allocations: 0 / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.007027, allocations: 11.98 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.007035, allocations: 0 / 0.8166 GB, free: 12.73 MB / 0.7761 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.83e-05/0.007103, allocations: 160.6 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.007124, allocations: 8.391 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.007157, allocations: 13.02 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007159, allocations: 0 / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.007162, allocations: 1.156 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007166, allocations: 4 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007279, allocations: 132.6 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00728, allocations: 4.5 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.007324, allocations: 13.27 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007327, allocations: 0 / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.007339, allocations: 7.938 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007341, allocations: 8.828 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007342, allocations: 0 / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.00749, allocations: 213.2 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.007498, allocations: 7.953 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.007513, allocations: 3.938 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.007557, allocations: 5.016 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.007592, allocations: 8 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.007598, allocations: 3.984 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.007644, allocations: 146.4 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007644, allocations: 0.6562 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001833/0.007828, allocations: 27.88 kB / 0.8173 GB, free: 11.92 MB / 0.7761 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.0001607/0.007988, allocations: 129.8 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.008109, allocations: 43.59 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008111, allocations: 0 / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.008148, allocations: 23.67 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.008337, allocations: 27.28 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.008875, allocations: 173.9 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.00891, allocations: 55.36 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.086e-05/0.00896, allocations: 16.55 kB / 0.8178 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.008997, allocations: 16.48 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.008998, allocations: 2.875 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.002831/0.01183, allocations: 1.138 MB / 0.8189 GB, free: 10.25 MB / 0.7761 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: 5.192148067057133]