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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001484/0.001484, allocations: 113.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 183 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 68.11 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.9911, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003439/0.9947, allocations: 1.585 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.9959, allocations: 0.5806 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.996, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.665e-05/0.9961, allocations: 3.938 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.9962, allocations: 19.86 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.9966, allocations: 59.75 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.9967, allocations: 39.92 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.9969, allocations: 11.98 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.997, allocations: 27.8 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.9971, allocations: 31.84 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.9971, allocations: 8 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.9973, allocations: 47.95 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.9974, allocations: 19.92 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.9974, allocations: 31.8 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.9977, allocations: 87.75 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9977, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.228e-06/0.9977, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.9977, allocations: 3.938 kB / 1.211 GB, free: 11.05 MB / 0.9356 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.0006813/0.9984, allocations: 396.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9984, allocations: 12.03 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.9994, allocations: 204.5 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.9996, allocations: 184.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.9997, allocations: 42.25 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.9997, allocations: 7.938 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/1, allocations: 169.5 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/1.001, allocations: 243.7 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/1.002, allocations: 0.5 MB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/1.002, allocations: 238.3 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/1.003, allocations: 120.8 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/1.003, allocations: 4.062 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.003, allocations: 38.48 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.003, allocations: 0 / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.001004/1.004, allocations: 373.2 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.004, allocations: 51.41 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/1.004, allocations: 171 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/1.004, allocations: 25.7 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/1.004, allocations: 104.1 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/1.004, allocations: 7.891 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/1.004, allocations: 21.7 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.004, allocations: 322.9 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/1.004, allocations: 115.9 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/1.005, allocations: 119.8 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/1.005, allocations: 196.7 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.005, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005989/1.006, allocations: 249.4 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/1.006, allocations: 11.98 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.006, allocations: 3.984 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.006, allocations: 3.938 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.006, allocations: 39.92 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.006, allocations: 11.91 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/1.006, allocations: 35.94 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.006, allocations: 3.984 kB / 1.215 GB, free: 6.875 MB / 0.9356 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.000109/1.007, allocations: 125.3 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/1.007, allocations: 15.83 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/1.007, allocations: 11.88 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.007, allocations: 4 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.007, allocations: 3.938 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.007, allocations: 0 / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/1.007, allocations: 245.6 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.007, allocations: 4 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/1.007, allocations: 47.91 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.007, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.007, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.007, allocations: 4 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.007, allocations: 7.922 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/1.008, allocations: 347.2 kB / 1.216 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/1.008, allocations: 89 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/1.008, allocations: 0 / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/1.008, allocations: 35.94 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/1.008, allocations: 7.969 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/1.008, allocations: 3.984 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001017/1.008, allocations: 135.1 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002539/1.009, allocations: 16 kB / 1.216 GB, free: 5.699 MB / 0.9356 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.0001694/1.009, allocations: 103.2 kB / 1.216 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006384/1.009, allocations: 231.8 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.009, allocations: 0 / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/1.01, allocations: 123.9 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/1.01, allocations: 4 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/1.011, allocations: 324.6 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.011, allocations: 0.6924 MB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/1.011, allocations: 23.41 kB / 1.217 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of SimCode: time 3.347e-06/1.011, allocations: 0 / 1.217 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of Templates: time 0.0033/1.014, allocations: 1.676 MB / 1.219 GB, free: 2.473 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches