Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001251/0.001251, allocations: 105.2 kB / 16.4 MB, free: 6.465 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.001297/0.001297, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.88 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00274/1.012, allocations: 1.575 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009876/1.013, allocations: 0.591 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/1.013, allocations: 1.031 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/1.013, allocations: 5.391 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/1.013, allocations: 15.39 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/1.013, allocations: 51.88 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000106/1.013, allocations: 53.69 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/1.013, allocations: 13.59 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/1.014, allocations: 19.89 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/1.014, allocations: 24.73 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/1.014, allocations: 7.891 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/1.014, allocations: 55.81 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/1.014, allocations: 24.5 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/1.014, allocations: 24.92 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/1.014, allocations: 93.53 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.014, allocations: 0.9375 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/1.014, allocations: 0 / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.014, allocations: 0 / 1.091 GB, free: 3.809 MB / 0.8575 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.0005397/1.015, allocations: 394.3 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.015, allocations: 9.672 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/1.016, allocations: 213.4 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.016, allocations: 189.9 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/1.016, allocations: 31.62 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/1.016, allocations: 14.39 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/1.016, allocations: 166 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.017, allocations: 0.6875 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.017, allocations: 4 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.017, allocations: 2.125 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/1.017, allocations: 235.2 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/1.018, allocations: 0.513 MB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/1.019, allocations: 244.1 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/1.019, allocations: 119.9 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/1.019, allocations: 0.7812 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.019, allocations: 31.92 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/1.019, allocations: 0 / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.001117/1.02, allocations: 376.5 kB / 1.094 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/1.02, allocations: 56.06 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/1.021, allocations: 167.9 kB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.021, allocations: 27.36 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/1.021, allocations: 106.1 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/1.021, allocations: 9.438 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/1.021, allocations: 20.52 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.021, allocations: 320.9 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.021, allocations: 114.5 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/1.022, allocations: 118.1 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/1.022, allocations: 201.5 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.022, allocations: 4.703 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007611/1.023, allocations: 254.2 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.023, allocations: 5.375 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.023, allocations: 0.5 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.023, allocations: 1.047 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.023, allocations: 43.81 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.023, allocations: 4.719 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.023, allocations: 41.75 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/1.023, allocations: 4.453 kB / 1.095 GB, free: 1.715 MB / 0.8575 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 8.537e-05/1.024, allocations: 117.8 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/1.024, allocations: 7.688 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/1.024, allocations: 13.89 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.024, allocations: 0 / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.024, allocations: 9.125 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/1.024, allocations: 0.5156 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/1.024, allocations: 246.5 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.024, allocations: 3.938 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/1.024, allocations: 43.94 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.024, allocations: 0.7969 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.024, allocations: 3.922 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.024, allocations: 4 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.024, allocations: 5.938 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/1.025, allocations: 349.6 kB / 1.096 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/1.025, allocations: 84.92 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/1.025, allocations: 5.406 kB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.025, allocations: 33.77 kB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/1.025, allocations: 9.969 kB / 1.096 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/1.025, allocations: 4.422 kB / 1.096 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001162/1.026, allocations: 127.1 kB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.026, allocations: 0.7188 kB / 1.096 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002672/1.026, allocations: 15.31 kB / 1.096 GB, free: 0.9961 MB / 0.8575 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.0001676/1.026, allocations: 109.6 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007312/1.027, allocations: 231.5 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.027, allocations: 0 / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/1.027, allocations: 123.2 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.027, allocations: 6.047 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/1.028, allocations: 319 kB / 1.097 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/1.028, allocations: 0.6979 MB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/1.028, allocations: 23.91 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.028, allocations: 0 / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.00452/1.033, allocations: 1.67 MB / 1.099 GB, free: 15.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches