Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009778/0.0009778, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001016/0.001016, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 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.9003/0.9003, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.949/1.949, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.698e-05, allocations: 4.531 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002009/0.002036, allocations: 1.607 MB / 0.8798 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003077, allocations: 0.8113 MB / 0.8806 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.003141, allocations: 7.938 kB / 0.8806 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.003175, allocations: 3.938 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.003253, allocations: 20.5 kB / 0.8806 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.00367, allocations: 101.5 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003794, allocations: 63.7 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.003883, allocations: 8 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.00402, allocations: 40.38 kB / 0.8808 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.004078, allocations: 24.72 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004095, allocations: 4 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.004217, allocations: 65.03 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.00423, allocations: 11.98 kB / 0.8809 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.004252, allocations: 12.59 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.004417, allocations: 115.6 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004419, allocations: 1.156 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00442, allocations: 0 / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004424, allocations: 0 / 0.881 GB, free: 3.441 MB / 0.8386 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.0003701/0.004794, allocations: 401.3 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.004831, allocations: 8.031 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.005107, allocations: 47 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.00526, allocations: 135 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.005269, allocations: 384 / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005282, allocations: 9.812 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.005453, allocations: 82.89 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.00546, allocations: 3.562 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.005471, allocations: 384 / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.005478, allocations: 3.938 kB / 0.8817 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.005535, allocations: 27.92 kB / 0.8817 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.005859, allocations: 299.8 kB / 0.882 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.005984, allocations: 60.19 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.006023, allocations: 31.77 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006038, allocations: 0 / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.006062, allocations: 46.83 kB / 0.8821 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.006063, allocations: 0 / 0.8821 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001976/0.006261, allocations: 69.66 kB / 0.8822 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006292, allocations: 56.5 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.006383, allocations: 173.9 kB / 0.8824 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.006396, allocations: 29.7 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.006448, allocations: 146.8 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.00647, allocations: 11.89 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.006504, allocations: 31.3 kB / 0.8826 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.006616, allocations: 496.1 kB / 0.8831 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.006648, allocations: 16 kB / 0.8831 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.006674, allocations: 15.92 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.00673, allocations: 27.95 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006732, allocations: 0 / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.629e-05/0.006828, allocations: 77.55 kB / 0.8832 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006841, allocations: 8 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.006844, allocations: 0 / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.006866, allocations: 0 / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.006947, allocations: 11.98 kB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.006952, allocations: 3.984 kB / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.006983, allocations: 11.98 kB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.006992, allocations: 4 kB / 0.8833 GB, free: 0.9492 MB / 0.8386 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.433e-05/0.007057, allocations: 156.5 kB / 0.8834 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.007077, allocations: 11.89 kB / 0.8834 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.00711, allocations: 19.98 kB / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007112, allocations: 0 / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.007116, allocations: 0 / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007118, allocations: 0 / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.007225, allocations: 132.6 kB / 0.8836 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007226, allocations: 0 / 0.8836 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.007262, allocations: 11.98 kB / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007264, allocations: 0 / 0.8836 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.007275, allocations: 11.92 kB / 0.8836 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007276, allocations: 4 kB / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007277, allocations: 0 / 0.8836 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.007413, allocations: 207.9 kB / 0.8838 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007421, allocations: 11.89 kB / 0.8838 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.007435, allocations: 3.938 kB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.007478, allocations: 7.984 kB / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.007509, allocations: 0 / 0.8838 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.007515, allocations: 7.984 kB / 0.8838 GB, free: 316 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.007564, allocations: 138.4 kB / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007564, allocations: 0 / 0.8839 GB, free: 180 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001788/0.007743, allocations: 39.81 kB / 0.884 GB, free: 140 kB / 0.8386 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.0001503/0.007893, allocations: 119.2 kB / 0.8841 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.008032, allocations: 39.72 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.008033, allocations: 4 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.008072, allocations: 31.55 kB / 0.8842 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.008262, allocations: 15.92 kB / 0.8842 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.008807, allocations: 178 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.008844, allocations: 55.36 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.008896, allocations: 19.97 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.008933, allocations: 12.5 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/0.008934, allocations: 0 / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003075/0.01201, allocations: 1.262 MB / 0.8857 GB, free: 14.35 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.000218303408474]