Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 196.1 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7836, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003207/0.7869, allocations: 1.637 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.788, allocations: 0.6009 MB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.7881, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.7881, allocations: 3.984 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.7882, allocations: 3.938 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.7885, allocations: 55.77 kB / 1.02 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.7886, allocations: 43.91 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7887, allocations: 15.94 kB / 1.02 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.7888, allocations: 27.91 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.7889, allocations: 27.86 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.789, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.7891, allocations: 43.95 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.7892, allocations: 23.91 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.7892, allocations: 23.81 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.7894, allocations: 65.86 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7894, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7894, allocations: 0 / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7894, allocations: 0 / 1.02 GB, free: 216 kB / 0.7637 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.0006678/0.7901, allocations: 395.1 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7901, allocations: 15.98 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/0.7911, allocations: 208.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.7913, allocations: 189.6 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.7914, allocations: 34.25 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.7914, allocations: 7.938 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.7918, allocations: 173.5 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7919, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.7919, allocations: 8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.7919, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005912/0.7925, allocations: 239.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.7935, allocations: 0.5076 MB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.7941, allocations: 238.4 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.7945, allocations: 112.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.7945, allocations: 12.05 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7945, allocations: 38.5 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.7945, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.001042/0.7956, allocations: 361.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.7956, allocations: 55.41 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.7958, allocations: 175.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.7959, allocations: 25.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.7959, allocations: 104.1 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.796, allocations: 7.906 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.796, allocations: 17.7 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.7962, allocations: 322.8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.7965, allocations: 115.9 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.7968, allocations: 111.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.7974, allocations: 200.6 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7974, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000656/0.7981, allocations: 261.3 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7981, allocations: 8.031 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7981, allocations: 0 / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.7981, allocations: 4 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.7984, allocations: 39.92 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7984, allocations: 3.938 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.7986, allocations: 43.83 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.7986, allocations: 4 kB / 1.024 GB, free: 12 MB / 0.7794 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.0001256/0.7987, allocations: 118.5 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.7988, allocations: 7.906 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.7988, allocations: 11.88 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7988, allocations: 3.938 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7988, allocations: 3.938 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7989, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.7992, allocations: 249.6 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7992, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.7994, allocations: 43.91 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7994, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.7994, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7994, allocations: 3.984 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.7994, allocations: 3.938 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.8001, allocations: 351.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.8002, allocations: 92.94 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.8002, allocations: 0 / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.8004, allocations: 35.94 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.8005, allocations: 7.938 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.8005, allocations: 3.984 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001118/0.8006, allocations: 130.8 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8006, allocations: 3.938 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002616/0.8009, allocations: 19.98 kB / 1.025 GB, free: 10.84 MB / 0.7794 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.0002042/0.8011, allocations: 111.2 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006433/0.8017, allocations: 227.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8017, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.802, allocations: 127.9 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.8023, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/0.803, allocations: 334.5 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.8033, allocations: 0.6965 MB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.8034, allocations: 23.41 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8034, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003718/0.8071, allocations: 1.671 MB / 1.028 GB, free: 7.602 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches