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.001239/0.001239, allocations: 107.9 kB / 15.99 MB, free: 6.344 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.00128/0.00128, allocations: 189.8 kB / 16.91 MB, free: 6.18 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.579/2.579, allocations: 437.1 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 67.73 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003221/0.3048, allocations: 1.653 MB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3059, allocations: 0.5891 MB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.306, allocations: 0 / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.3061, allocations: 7.984 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.3062, allocations: 3.938 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.3065, allocations: 47.89 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.3066, allocations: 43.91 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.3067, allocations: 19.98 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3068, allocations: 23.86 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.3069, allocations: 23.86 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.307, allocations: 4 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.3071, allocations: 51.95 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.3072, allocations: 31.89 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.3072, allocations: 27.81 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3074, allocations: 64.17 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3074, allocations: 0 / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3074, allocations: 4 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3074, allocations: 0 / 1.02 GB, free: 8.383 MB / 0.795 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.0006231/0.308, allocations: 389.4 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3081, allocations: 8.922 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.3091, allocations: 208.5 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3093, allocations: 196.6 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.3093, allocations: 34.19 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3094, allocations: 7.938 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.3098, allocations: 173.5 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3098, allocations: 0 / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3099, allocations: 0 / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3099, allocations: 0 / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.3105, allocations: 239.7 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.3115, allocations: 0.5192 MB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.3121, allocations: 238.3 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.3124, allocations: 120.7 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3125, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.3125, allocations: 38.55 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3125, allocations: 3.938 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.001114/0.3136, allocations: 361.2 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3137, allocations: 55.41 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3139, allocations: 172.7 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3139, allocations: 29.7 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.314, allocations: 96.14 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.314, allocations: 11.89 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.3141, allocations: 21.7 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3142, allocations: 318.8 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.3146, allocations: 115.9 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.3149, allocations: 111.9 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.3154, allocations: 200.6 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3154, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006584/0.3161, allocations: 257.4 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3161, allocations: 7.984 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3161, allocations: 4.031 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3162, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.3164, allocations: 39.92 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3164, allocations: 7.938 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3166, allocations: 35.84 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3166, allocations: 7.984 kB / 1.024 GB, free: 4.191 MB / 0.795 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.0001178/0.3167, allocations: 118.4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3168, allocations: 11.91 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.3168, allocations: 7.875 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3168, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3168, allocations: 3.938 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3168, allocations: 0 / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.3172, allocations: 245.5 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3172, allocations: 0 / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3174, allocations: 55.91 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3174, allocations: 3.938 kB / 1.024 GB, free: 3.699 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3174, allocations: 4 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3174, allocations: 3.938 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.3174, allocations: 11.92 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.3182, allocations: 343.2 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3182, allocations: 92.97 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3183, allocations: 4 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3185, allocations: 35.94 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3185, allocations: 3.938 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3185, allocations: 7.984 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3186, allocations: 121.4 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3186, allocations: 4 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002548/0.3189, allocations: 16 kB / 1.025 GB, free: 3.031 MB / 0.795 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.0001877/0.3191, allocations: 107.2 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006698/0.3198, allocations: 235.8 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3198, allocations: 0 / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.3201, allocations: 119.9 kB / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3204, allocations: 11.94 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.3211, allocations: 328.9 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3215, allocations: 0.7 MB / 1.026 GB, free: 1.473 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.3216, allocations: 19.41 kB / 1.026 GB, free: 1.453 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.3216, allocations: 0 / 1.026 GB, free: 1.453 MB / 0.795 GB Notification: Performance of Templates: time 0.003748/0.3253, allocations: 1.666 MB / 1.028 GB, free: 15.79 MB / 0.8106 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=400 -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