Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_10_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_10_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.008161/0.008161, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002945/0.002945, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.4 MB, free: 4.332 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.728/2.728, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3464, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002879/0.3494, allocations: 1.535 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3507, allocations: 0.7565 MB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.3508, allocations: 4 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.3508, allocations: 7.922 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.3509, allocations: 11.88 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.3513, allocations: 87.66 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.3514, allocations: 55.72 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3515, allocations: 19.98 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.3516, allocations: 19.92 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.3517, allocations: 19.92 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3517, allocations: 4 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3519, allocations: 75.92 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.3519, allocations: 11.94 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.352, allocations: 23.8 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3522, allocations: 95.69 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3522, allocations: 0 / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3522, allocations: 4 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3522, allocations: 4 kB / 1.169 GB, free: 4.055 MB / 0.92 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.0005794/0.3528, allocations: 382.9 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3528, allocations: 15.97 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.3532, allocations: 24.89 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3533, allocations: 168.3 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3533, allocations: 384 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3534, allocations: 8.375 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3536, allocations: 85.94 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3537, allocations: 0 / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3537, allocations: 0 / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3537, allocations: 4 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.3539, allocations: 63.95 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.3545, allocations: 324.7 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3547, allocations: 66.55 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3549, allocations: 40.92 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3549, allocations: 4 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3549, allocations: 30.56 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3549, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000547/0.3555, allocations: 145.5 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3556, allocations: 55.41 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3557, allocations: 113.8 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3557, allocations: 25.7 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3558, allocations: 100 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3558, allocations: 7.953 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3558, allocations: 17.7 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.356, allocations: 326.8 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3561, allocations: 31.97 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3563, allocations: 27.97 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.3565, allocations: 72.81 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3565, allocations: 3.938 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.3569, allocations: 113.5 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3569, allocations: 4 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3569, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3569, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3571, allocations: 15.98 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3571, allocations: 4 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.3572, allocations: 8.312 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3572, allocations: 4 kB / 1.171 GB, free: 1.582 MB / 0.92 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 9.772e-05/0.3573, allocations: 121.7 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3573, allocations: 7.953 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.3574, allocations: 11.89 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3574, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3574, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3574, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3576, allocations: 197.2 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3576, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3578, allocations: 23.91 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3578, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3578, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3578, allocations: 4 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3578, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3582, allocations: 203.4 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3582, allocations: 81.11 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3583, allocations: 3.984 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3584, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.3584, allocations: 11.98 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3585, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.3585, allocations: 91.27 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000285/0.3588, allocations: 31.88 kB / 1.172 GB, free: 0.6953 MB / 0.92 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.0002146/0.359, allocations: 119.1 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.3594, allocations: 83.86 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3594, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3596, allocations: 35.97 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3599, allocations: 11.94 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.3603, allocations: 174.9 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3606, allocations: 0.6885 MB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.649e-05/0.3607, allocations: 15.98 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.3607, allocations: 15.42 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3607, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.003837/0.3646, allocations: 1.091 MB / 1.174 GB, free: 14.42 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches