Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001591/0.001591, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.001803/0.001803, allocations: 187 kB / 17.34 MB, free: 5.762 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.357/1.357, 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 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8681, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002946/0.8711, allocations: 1.544 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8723, allocations: 0.7537 MB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.8724, allocations: 0 / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.8724, allocations: 5.109 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.8725, allocations: 15.48 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.8729, allocations: 90.53 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.8731, allocations: 52.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.8732, allocations: 11.36 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.8733, allocations: 33.64 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.8734, allocations: 30.22 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.8734, allocations: 2.875 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.8736, allocations: 68.75 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.8736, allocations: 7.906 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.8736, allocations: 20.72 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.8739, allocations: 99.83 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.8739, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8739, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.8739, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 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.0004518/0.8743, allocations: 379.3 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8744, allocations: 9.25 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.8747, allocations: 27.3 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.8748, allocations: 174.4 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.8748, allocations: 1.812 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.8749, allocations: 1.656 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.8751, allocations: 90.34 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8751, allocations: 7.875 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.8752, allocations: 1.094 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8752, allocations: 0 / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.8754, allocations: 65.58 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.8759, allocations: 326.3 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.8762, allocations: 76.19 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.8764, allocations: 38.11 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8764, allocations: 1.125 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.8764, allocations: 35.27 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8764, allocations: 0.6562 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005941/0.877, allocations: 136.2 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.8771, allocations: 56.19 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.8771, allocations: 118.3 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.8772, allocations: 30.95 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.8772, allocations: 86.89 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.8772, allocations: 6.734 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.8773, allocations: 22.86 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.8774, allocations: 321.8 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.8775, allocations: 32.12 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.8777, allocations: 33.89 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.8779, allocations: 72.23 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8779, allocations: 0.6562 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003317/0.8783, allocations: 105.4 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8783, allocations: 5.469 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8783, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8783, allocations: 1.719 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.8785, allocations: 23.33 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8785, allocations: 1.469 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.8786, allocations: 10.69 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.8786, allocations: 3.094 kB / 1.093 GB, free: 1.836 MB / 0.8575 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 6.722e-05/0.8787, allocations: 112.6 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.8787, allocations: 7.922 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.8788, allocations: 11.33 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.8788, allocations: 1.406 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8788, allocations: 0 / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8788, allocations: 4.562 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.879, allocations: 204 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.879, allocations: 0 / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.8792, allocations: 15.94 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8792, allocations: 0.875 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.8792, allocations: 4.094 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8792, allocations: 0.6562 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8792, allocations: 3.938 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.8796, allocations: 209.8 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.8797, allocations: 81.95 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.8797, allocations: 1.578 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.8798, allocations: 6.719 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.8799, allocations: 3.484 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.8799, allocations: 3.75 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.8799, allocations: 95.38 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8799, allocations: 0.75 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003174/0.8803, allocations: 30.62 kB / 1.094 GB, free: 1.125 MB / 0.8575 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.0002483/0.8805, allocations: 121.6 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.8809, allocations: 72.09 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8809, allocations: 4.812 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.8811, allocations: 42.75 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.8815, allocations: 8.422 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.8821, allocations: 183.1 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.8823, allocations: 0.6869 MB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.8823, allocations: 21.97 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.8823, allocations: 3.938 kB / 1.095 GB, free: 128 kB / 0.8575 GB Notification: Performance of Templates: time 0.004079/0.8864, allocations: 1.304 MB / 1.097 GB, free: 15.99 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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