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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001195/0.001195, allocations: 108 kB / 15.61 MB, free: 152 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.001268/0.001268, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 71.89 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7544, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003043/0.7575, allocations: 1.572 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.7586, allocations: 0.593 MB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.7587, allocations: 4 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.7587, allocations: 3.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.7588, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.7591, allocations: 63.73 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.7592, allocations: 51.86 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.7593, allocations: 19.97 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.7595, allocations: 15.94 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.7596, allocations: 31.83 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.7596, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.7598, allocations: 47.95 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.7598, allocations: 23.92 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.7599, allocations: 31.8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.7601, allocations: 93.66 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7601, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7601, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7601, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 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.0005324/0.7606, allocations: 392.6 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.7607, allocations: 12.03 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009018/0.7616, allocations: 208.5 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.7617, allocations: 192.7 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.7618, allocations: 34.25 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7618, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.7623, allocations: 177.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.7623, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.7623, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.7623, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.7629, allocations: 239.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.7637, allocations: 0.5154 MB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.7643, allocations: 234.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.7646, allocations: 124.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.7646, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.7647, allocations: 34.56 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7647, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0009768/0.7657, allocations: 369.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.7657, allocations: 51.41 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.7659, allocations: 169.5 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.7659, allocations: 29.7 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.766, allocations: 104.1 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.766, allocations: 7.906 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.7661, allocations: 21.69 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7662, allocations: 326.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.7665, allocations: 111.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.7668, allocations: 115.9 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.7673, allocations: 204.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7673, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006179/0.7679, allocations: 253.4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7679, allocations: 4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.768, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.768, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.7682, allocations: 47.91 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.7682, allocations: 7.875 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.7684, allocations: 35.97 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.7684, allocations: 7.984 kB / 1.024 GB, free: 11.69 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 8.827e-05/0.7685, allocations: 113.8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.7686, allocations: 7.906 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.7686, allocations: 15.86 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.7686, allocations: 3.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7686, allocations: 7.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7686, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.7689, allocations: 249.5 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7689, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.7691, allocations: 39.92 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7691, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.7691, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.7691, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7691, allocations: 7.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.7698, allocations: 351.2 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.7698, allocations: 88.95 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.7699, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.7701, allocations: 39.92 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.7701, allocations: 3.938 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.7701, allocations: 8.031 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001012/0.7702, allocations: 127.9 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7702, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002598/0.7705, allocations: 20 kB / 1.025 GB, free: 10.53 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.0001673/0.7707, allocations: 103.2 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.7713, allocations: 231.8 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7713, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.7716, allocations: 123.9 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.7719, allocations: 9.812 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.7725, allocations: 287.2 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.7728, allocations: 0.6961 MB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.901e-05/0.7729, allocations: 31.97 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.773, allocations: 15.42 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.773, allocations: 0 / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.00351/0.7765, allocations: 1.294 MB / 1.027 GB, free: 7.688 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/jenkins/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