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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001585/0.001585, allocations: 103.3 kB / 16.35 MB, free: 5.879 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.001843/0.001844, allocations: 196.8 kB / 17.3 MB, free: 5.52 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 70.09 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002788/0.348, allocations: 1.54 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3492, allocations: 0.7719 MB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3492, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.3492, allocations: 11.86 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.3493, allocations: 3.938 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.3497, allocations: 99.27 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.3498, allocations: 55.78 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.3499, allocations: 8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.35, allocations: 31.86 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.3501, allocations: 27.84 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3501, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.3502, allocations: 67.94 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.3503, allocations: 8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.3503, allocations: 27.84 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3505, allocations: 91.72 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3505, allocations: 3.984 kB / 1.029 GB, free: 15.27 MB / 0.8106 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.0004352/0.3509, allocations: 372.5 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.351, allocations: 8.031 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.3513, allocations: 28.81 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3514, allocations: 172.3 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3514, allocations: 4.375 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3514, allocations: 384 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.3517, allocations: 85.89 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3517, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3517, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3517, allocations: 7.984 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.352, allocations: 63.95 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.3524, allocations: 316.7 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3527, allocations: 78.47 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3528, allocations: 44.92 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3529, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3529, allocations: 30.56 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.3529, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004977/0.3534, allocations: 149.4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3534, allocations: 51.41 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3535, allocations: 117.8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3536, allocations: 29.64 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3536, allocations: 88.14 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3536, allocations: 15.83 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3537, allocations: 25.64 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3538, allocations: 318.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3539, allocations: 27.97 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3541, allocations: 39.97 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.3543, allocations: 64.81 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3543, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002873/0.3546, allocations: 101.5 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3546, allocations: 12 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3546, allocations: 3.984 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3547, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3548, allocations: 15.92 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3548, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.3549, allocations: 11.98 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3549, allocations: 0 / 1.032 GB, free: 12.81 MB / 0.8106 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 7.768e-05/0.355, allocations: 121.7 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.355, allocations: 3.984 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3551, allocations: 11.91 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3551, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3551, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3551, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3553, allocations: 193.5 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3553, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3554, allocations: 15.97 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3554, allocations: 8 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3555, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3555, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3555, allocations: 3.938 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3558, allocations: 207.4 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.3559, allocations: 85.02 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3559, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.356, allocations: 7.984 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.356, allocations: 4 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3561, allocations: 3.984 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.3561, allocations: 103.6 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3561, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002585/0.3564, allocations: 24 kB / 1.032 GB, free: 11.93 MB / 0.8106 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.0001816/0.3566, allocations: 131.2 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.3569, allocations: 71.94 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3569, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.357, allocations: 44.36 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3573, allocations: 22.84 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.3577, allocations: 151.3 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.358, allocations: 0.6883 MB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.358, allocations: 24.06 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3581, allocations: 15.42 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3581, allocations: 4 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.003752/0.3619, allocations: 1.08 MB / 1.035 GB, free: 9.648 MB / 0.8106 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 -s gbode -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) Reference file matches