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.001203/0.001203, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001473/0.001473, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002958, allocations: 8.594 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2727, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001512/0.2743, allocations: 1.238 MB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.2753, allocations: 0.7133 MB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.2753, allocations: 0 / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.2754, allocations: 3.984 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.2754, allocations: 15.86 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.2757, allocations: 75.17 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.2758, allocations: 47.78 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.532e-05/0.2758, allocations: 8 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.2759, allocations: 23.91 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.276, allocations: 23.86 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.276, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2761, allocations: 67.95 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.2762, allocations: 11.97 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2762, allocations: 29.7 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2763, allocations: 72.06 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2763, allocations: 3.938 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.11e-07/0.2763, allocations: 3.938 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.2764, allocations: 0 / 1.06 GB, free: 2.934 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.0003897/0.2767, allocations: 363.2 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2768, allocations: 12.03 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.2771, allocations: 31.86 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2772, allocations: 163 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2772, allocations: 4 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2772, allocations: 3.953 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2774, allocations: 93.62 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.2775, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2775, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-06/0.2775, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.2777, allocations: 79.89 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.2782, allocations: 316.8 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.2785, allocations: 74.55 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2786, allocations: 44.92 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2786, allocations: 0 / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2787, allocations: 30.56 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2787, allocations: 0 / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004978/0.2792, allocations: 157.7 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2792, allocations: 55.41 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.2793, allocations: 121.8 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2793, allocations: 25.7 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.2794, allocations: 99.97 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2794, allocations: 11.83 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.2794, allocations: 4 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2796, allocations: 314.8 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2797, allocations: 43.97 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2798, allocations: 35.97 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.28, allocations: 35.97 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.28, allocations: 4 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002967/0.2803, allocations: 109.5 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2803, allocations: 5.406 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2803, allocations: 0 / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2803, allocations: 4 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2804, allocations: 19.97 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2805, allocations: 4 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.2806, allocations: 11.98 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2806, allocations: 4 kB / 1.062 GB, free: 492 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.2807, allocations: 109.8 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2807, allocations: 7.938 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.2808, allocations: 15.91 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2808, allocations: 3.984 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2808, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2808, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.281, allocations: 189.5 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.281, allocations: 4 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2811, allocations: 11.98 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2811, allocations: 8 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2811, allocations: 3.984 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2811, allocations: 3.938 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2811, allocations: 0 / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2815, allocations: 215.4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.2816, allocations: 81.02 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2816, allocations: 0 / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2817, allocations: 11.98 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2817, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.2818, allocations: 11.98 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.2818, allocations: 91.22 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2818, allocations: 4 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002721/0.2821, allocations: 31.98 kB / 1.063 GB, free: 15.59 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/0.2823, allocations: 125 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2826, allocations: 83.88 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2826, allocations: 0 / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2828, allocations: 39.97 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.283, allocations: 7.953 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.2834, allocations: 182.5 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2837, allocations: 0.6848 MB / 1.064 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.2838, allocations: 20.34 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.2838, allocations: 19.36 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2838, allocations: 0 / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.003064/0.2869, allocations: 0.9782 MB / 1.065 GB, free: 13.4 MB / 0.8262 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/jenkins/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