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.001181/0.001181, allocations: 100.8 kB / 16.27 MB, free: 5.965 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.001163/0.001164, allocations: 191.4 kB / 17.2 MB, free: 5.59 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.472/2.472, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.03 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2881, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002829/0.2909, allocations: 1.531 MB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2921, allocations: 0.7634 MB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.2921, allocations: 4 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.2922, allocations: 7.922 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.2923, allocations: 11.86 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.2926, allocations: 91.66 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.2927, allocations: 55.78 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.2928, allocations: 8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.2929, allocations: 23.92 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.293, allocations: 27.84 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.293, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2931, allocations: 71.95 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.2932, allocations: 7.984 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.2932, allocations: 23.86 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2934, allocations: 95.98 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2934, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2934, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2934, allocations: 0 / 1.067 GB, free: 12.27 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.0004613/0.2939, allocations: 375.3 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2939, allocations: 8.031 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.2942, allocations: 28.81 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2943, allocations: 180.2 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2944, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2944, allocations: 384 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2946, allocations: 81.95 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2946, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2947, allocations: 4 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.2947, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.2949, allocations: 67.94 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.2954, allocations: 320.8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2957, allocations: 70.53 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.2958, allocations: 40.92 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2959, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.2959, allocations: 34.56 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2959, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005135/0.2964, allocations: 141.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2965, allocations: 59.33 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.2966, allocations: 129.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2966, allocations: 25.7 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.2967, allocations: 84.14 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2967, allocations: 19.83 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.2967, allocations: 17.7 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2968, allocations: 318.8 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.297, allocations: 27.97 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2971, allocations: 39.97 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2974, allocations: 64.81 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003045/0.2977, allocations: 109.8 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2977, allocations: 8 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2977, allocations: 3.984 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2977, allocations: 4 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.2979, allocations: 15.97 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2979, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.298, allocations: 7.984 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.298, allocations: 4 kB / 1.069 GB, free: 9.797 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 7.86e-05/0.2981, allocations: 124 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2981, allocations: 0 / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2982, allocations: 15.88 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2982, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2982, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2982, allocations: 0 / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2984, allocations: 193.5 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2984, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2985, allocations: 19.97 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2985, allocations: 0 / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2986, allocations: 8 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2986, allocations: 3.938 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2986, allocations: 0 / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2989, allocations: 203.4 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.299, allocations: 81.02 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.299, allocations: 3.938 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.2991, allocations: 7.984 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2992, allocations: 4 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2992, allocations: 3.984 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.2992, allocations: 95.27 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2993, allocations: 4 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002593/0.2995, allocations: 28 kB / 1.07 GB, free: 8.922 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.0001934/0.2997, allocations: 123.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.3, allocations: 79.81 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3001, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3002, allocations: 43.95 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3005, allocations: 14.12 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.3009, allocations: 187.5 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3012, allocations: 0.6962 MB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.3013, allocations: 15.42 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3013, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of Templates: time 0.002835/0.3041, allocations: 1.29 MB / 1.072 GB, free: 6.43 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