Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001989/0.001989, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002637/0.002637, allocations: 159.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.923/2.923, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 3.938 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.134e-05, allocations: 9.516 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.005416/0.005458, allocations: 1.594 MB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.007704, allocations: 0.6077 MB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.007818, allocations: 0 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.572e-05/0.007904, allocations: 7.922 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.00805, allocations: 11.88 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.008649, allocations: 59.8 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.008868, allocations: 51.83 kB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.009004, allocations: 11.94 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.009237, allocations: 43.89 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.342e-05/0.009331, allocations: 19.92 kB / 1.002 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.009363, allocations: 4 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.009607, allocations: 51.88 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.009702, allocations: 23.92 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.009768, allocations: 19.92 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.01011, allocations: 99.67 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01012, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01012, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.01013, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009959/0.01113, allocations: 337.7 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.01118, allocations: 8.031 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.01334, allocations: 332.2 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.01378, allocations: 158.2 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.01392, allocations: 71.92 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.01396, allocations: 8.375 kB / 1.004 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.0148, allocations: 201.7 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01482, allocations: 0 / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.01485, allocations: 12 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01485, allocations: 0 / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.0162, allocations: 287.6 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.01789, allocations: 0.4997 MB / 1.005 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.01924, allocations: 294.2 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/0.01991, allocations: 152.6 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.01994, allocations: 0 / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.01999, allocations: 30.56 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.01999, allocations: 0 / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.002107/0.0221, allocations: 457.1 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.02216, allocations: 51.53 kB / 1.005 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.02248, allocations: 172.8 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.02252, allocations: 25.7 kB / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.02264, allocations: 104 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.02269, allocations: 8.031 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.02283, allocations: 37.69 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.02307, allocations: 318.8 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.02373, allocations: 143.8 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.02434, allocations: 131.8 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.02547, allocations: 260.5 kB / 1.007 GB, free: 432 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02548, allocations: 0 / 1.007 GB, free: 432 kB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00125/0.02673, allocations: 317.3 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.02676, allocations: 4 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.02678, allocations: 4 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.0268, allocations: 0 / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.02721, allocations: 79.86 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.02722, allocations: 0 / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.02759, allocations: 55.92 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.02776, allocations: 79.77 kB / 1.007 GB, free: 15.89 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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 0.0002108/0.02797, allocations: 117.8 kB / 1.007 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.02805, allocations: 7.953 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.0281, allocations: 11.95 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02811, allocations: 0 / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.02811, allocations: 0 / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02812, allocations: 0 / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.02859, allocations: 197.2 kB / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02859, allocations: 0 / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.02898, allocations: 79.88 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.02898, allocations: 3.938 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.02902, allocations: 11.98 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.02902, allocations: 0 / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.02903, allocations: 3.938 kB / 1.008 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.03022, allocations: 415.1 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.03026, allocations: 11.94 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.0303, allocations: 4 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.03068, allocations: 59.89 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.03073, allocations: 4 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.03086, allocations: 75.78 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000163/0.03102, allocations: 123.2 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.03102, allocations: 0 / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004439/0.03147, allocations: 15.94 kB / 1.008 GB, free: 14.71 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0002334/0.0317, allocations: 103.2 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.03303, allocations: 299.5 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.03303, allocations: 0 / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.03365, allocations: 147.8 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.03407, allocations: 10.12 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.03511, allocations: 296.8 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.03525, allocations: 91.23 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.03573, allocations: 187.6 kB / 1.009 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.03587, allocations: 36.45 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of SimCode: time 6.52e-07/0.03587, allocations: 0 / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of Templates: time 0.007113/0.04298, allocations: 1.281 MB / 1.011 GB, free: 12.23 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.296462427824736]