Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_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_latest_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.001521/0.001521, allocations: 108 kB / 15.6 MB, free: 132 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.001695/0.001695, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.34 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.352, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002842/0.3549, allocations: 1.528 MB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3561, allocations: 0.7673 MB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.3561, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.3562, allocations: 11.92 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.3563, allocations: 7.875 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.3567, allocations: 95.58 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.3568, allocations: 51.8 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.3569, allocations: 7.984 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.357, allocations: 31.92 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.357, allocations: 27.84 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3571, allocations: 4 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3572, allocations: 67.89 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.3572, allocations: 7.984 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.3573, allocations: 27.86 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3575, allocations: 92.05 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3575, allocations: 3.938 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3575, allocations: 3.938 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3575, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 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.0004663/0.358, allocations: 375.3 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.358, allocations: 8.031 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.3583, allocations: 24.81 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3585, allocations: 180.2 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3585, allocations: 4.375 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3585, allocations: 4.359 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3588, allocations: 85.95 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3588, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3588, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3588, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.3591, allocations: 71.88 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.3596, allocations: 324.6 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.3599, allocations: 70.53 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.36, allocations: 44.92 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.36, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3601, allocations: 34.5 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3601, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005472/0.3606, allocations: 141.5 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3607, allocations: 51.41 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.3608, allocations: 117.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3608, allocations: 25.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3608, allocations: 92.08 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3609, allocations: 11.84 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.3609, allocations: 21.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.361, allocations: 322.8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3612, allocations: 35.97 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3613, allocations: 31.92 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.3616, allocations: 69.08 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3616, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.3619, allocations: 105.5 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3619, allocations: 8 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3619, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.362, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3621, allocations: 19.97 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3621, allocations: 4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.3622, allocations: 7.984 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3622, allocations: 4 kB / 1.073 GB, free: 5.195 MB / 0.8262 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 8.308e-05/0.3623, allocations: 117.7 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3624, allocations: 3.906 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.3624, allocations: 11.91 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3624, allocations: 11.92 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3624, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3624, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3627, allocations: 189.6 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3627, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3628, allocations: 11.98 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3628, allocations: 4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3628, allocations: 3.984 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3628, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3628, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3632, allocations: 207.4 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.3633, allocations: 81.02 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3633, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3634, allocations: 7.984 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3634, allocations: 11.94 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3635, allocations: 7.984 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.3635, allocations: 95.22 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3635, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002699/0.3638, allocations: 31.98 kB / 1.074 GB, free: 4.312 MB / 0.8262 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.0001745/0.364, allocations: 123.7 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3643, allocations: 75.94 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3644, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3645, allocations: 43.91 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3648, allocations: 7.922 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.3652, allocations: 163.1 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3655, allocations: 0.6846 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.022e-05/0.3656, allocations: 19.97 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3656, allocations: 11.44 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3656, allocations: 0 / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of Templates: time 0.003291/0.3689, allocations: 1.086 MB / 1.076 GB, free: 2.047 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches