Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 109 kB / 15.99 MB, free: 5.914 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.001705/0.001705, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.14 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002975/0.3284, allocations: 1.596 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3297, allocations: 0.7635 MB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.3298, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.3298, allocations: 3.938 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.3299, allocations: 11.92 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3303, allocations: 83.78 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.933e-05/0.3304, allocations: 51.8 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.3305, allocations: 8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.3306, allocations: 27.86 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.3307, allocations: 27.84 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3307, allocations: 8 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3309, allocations: 63.94 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3309, allocations: 4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.3309, allocations: 31.84 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3311, allocations: 64.14 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3311, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3311, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3311, allocations: 0 / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000542/0.3317, allocations: 375.3 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3317, allocations: 12.03 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.332, allocations: 24.81 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3322, allocations: 180.2 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3322, allocations: 4.375 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3323, allocations: 384 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3325, allocations: 93.89 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3326, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3326, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3326, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.3329, allocations: 67.94 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.3334, allocations: 312.8 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3337, allocations: 74.47 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3339, allocations: 40.92 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3339, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.334, allocations: 30.56 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 3.336e-06/0.334, allocations: 3.984 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005529/0.3345, allocations: 137.5 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.3346, allocations: 59.39 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3347, allocations: 117.8 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3347, allocations: 25.7 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.3348, allocations: 84.14 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3348, allocations: 23.75 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3349, allocations: 25.64 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3351, allocations: 314.8 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3352, allocations: 39.97 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3354, allocations: 31.97 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3356, allocations: 64.81 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3356, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003243/0.336, allocations: 101.5 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.336, allocations: 8 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.336, allocations: 3.938 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.336, allocations: 0 / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.3362, allocations: 23.91 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3362, allocations: 0 / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.3363, allocations: 15.98 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3363, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 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 (3): * Single equations (assignments): 3 * 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.0001143/0.3364, allocations: 116 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3365, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.3365, allocations: 15.89 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.3368, allocations: 197.5 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3368, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3369, allocations: 15.97 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3369, allocations: 4 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.337, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.337, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.337, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.3374, allocations: 215.4 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.3374, allocations: 81.02 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3375, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3376, allocations: 7.984 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3377, allocations: 4 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3377, allocations: 3.984 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.3378, allocations: 95.27 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 4 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000276/0.338, allocations: 32 kB / 1.07 GB, free: 8.988 MB / 0.8419 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 (3): * Single equations (assignments): 3 * 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.0002226/0.3383, allocations: 119.2 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.3386, allocations: 76.25 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3386, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3388, allocations: 47.89 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3391, allocations: 9.594 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.3396, allocations: 205 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.34, allocations: 0.6846 MB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.34, allocations: 19.42 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.34, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.003243/0.3433, allocations: 1.287 MB / 1.072 GB, free: 6.488 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time