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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001377/0.001377, allocations: 108.5 kB / 15.99 MB, free: 6.336 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.001374/0.001374, allocations: 199.7 kB / 16.91 MB, free: 6.176 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7423 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66.8 kB / 0.9083 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003314/0.3497, allocations: 1.596 MB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3509, allocations: 0.7481 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.351, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.351, allocations: 11.86 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.3512, allocations: 7.922 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3516, allocations: 79.8 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.3517, allocations: 55.8 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3518, allocations: 7.984 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3519, allocations: 31.91 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.791e-05/0.352, allocations: 27.8 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.352, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3521, allocations: 63.94 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3522, allocations: 7.984 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3522, allocations: 23.88 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3524, allocations: 72.12 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3524, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3524, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3524, allocations: 0 / 1.066 GB, free: 12.59 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.0004694/0.3529, allocations: 367.3 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3529, allocations: 8.031 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.3533, allocations: 36.8 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3534, allocations: 176.2 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3534, allocations: 4.375 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3534, allocations: 8.312 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3537, allocations: 85.92 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3537, allocations: 4 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3537, allocations: 3.938 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3537, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.354, allocations: 67.95 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.3545, allocations: 316.8 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3548, allocations: 74.53 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3549, allocations: 36.94 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3549, allocations: 3.938 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.355, allocations: 34.55 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.355, allocations: 0 / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000507/0.3555, allocations: 141.5 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.3555, allocations: 51.41 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3556, allocations: 113.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3557, allocations: 25.7 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3557, allocations: 96.12 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3558, allocations: 7.844 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3558, allocations: 25.7 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3559, allocations: 314.8 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3561, allocations: 31.97 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3562, allocations: 39.91 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.3564, allocations: 68.81 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3565, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003066/0.3568, allocations: 101.5 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3568, allocations: 8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3568, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3568, allocations: 4 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.357, allocations: 11.98 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.357, allocations: 7.922 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.3571, allocations: 8 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3571, allocations: 7.984 kB / 1.069 GB, free: 10.12 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 8.995e-05/0.3572, allocations: 113.7 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3572, allocations: 8 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.3573, allocations: 15.89 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3573, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3573, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3573, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3575, allocations: 193.5 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3575, allocations: 0 / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3577, allocations: 15.97 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3577, allocations: 4.328 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3577, allocations: 11.92 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3577, allocations: 4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3577, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.3581, allocations: 199.4 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.3581, allocations: 93 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3581, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3583, allocations: 7.938 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3583, allocations: 7.984 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3583, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.3584, allocations: 91.27 kB / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3584, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002653/0.3587, allocations: 36 kB / 1.069 GB, free: 9.234 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.0002025/0.3589, allocations: 127.2 kB / 1.069 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3592, allocations: 75.92 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3592, allocations: 0 / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3594, allocations: 39.91 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.3597, allocations: 17.42 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.3601, allocations: 200.8 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3604, allocations: 0.6807 MB / 1.07 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.3604, allocations: 19.42 kB / 1.07 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3605, allocations: 4 kB / 1.07 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of Templates: time 0.002996/0.3635, allocations: 1.291 MB / 1.072 GB, free: 6.727 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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