Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0008012/0.0008011, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005487/0.005488, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8 kB / 0.8728 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6952, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001627/0.6968, allocations: 1.255 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.698, allocations: 0.7412 MB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.698, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.698, allocations: 7.938 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.6981, allocations: 11.91 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.6984, allocations: 79.73 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.6985, allocations: 43.8 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.6986, allocations: 15.94 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.6987, allocations: 31.84 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.6988, allocations: 15.92 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6988, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.699, allocations: 71.86 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.699, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.699, allocations: 45.58 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.6992, allocations: 97.77 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6992, allocations: 7.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6992, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6992, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 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.0004623/0.6997, allocations: 371.3 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6998, allocations: 8.031 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.7001, allocations: 32.81 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.7002, allocations: 176.2 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.7002, allocations: 384 / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.7003, allocations: 4.375 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.7006, allocations: 89.94 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7006, allocations: 3.938 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7006, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7006, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.7009, allocations: 75.95 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.7014, allocations: 316.6 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.7017, allocations: 78.53 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.7018, allocations: 48.86 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.7019, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.7019, allocations: 38.56 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.7019, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005516/0.7025, allocations: 157.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.7025, allocations: 51.41 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.7027, allocations: 117.8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.7027, allocations: 25.7 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.7028, allocations: 96.06 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7028, allocations: 3.906 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.7028, allocations: 13.72 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.703, allocations: 322.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.7031, allocations: 39.91 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.7033, allocations: 39.97 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.7035, allocations: 73.08 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7035, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003117/0.7039, allocations: 117.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7039, allocations: 5.406 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7039, allocations: 3.938 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.7039, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.704, allocations: 15.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.7041, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.7042, allocations: 15.98 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.7042, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 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.147e-05/0.7043, allocations: 121.8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.7043, allocations: 7.906 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.7044, allocations: 7.906 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7044, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7044, allocations: 8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7044, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.7046, allocations: 193.5 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7046, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7047, allocations: 19.97 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7047, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7047, allocations: 4 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7047, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7047, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.7051, allocations: 207.4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.7052, allocations: 88.95 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.7052, allocations: 3.984 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.7053, allocations: 12 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.7053, allocations: 7.984 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.7054, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.7054, allocations: 99.2 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7054, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002587/0.7057, allocations: 24 kB / 1.028 GB, free: 9.949 MB / 0.7794 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.0001965/0.7059, allocations: 123.2 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.7062, allocations: 83.92 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7062, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.7064, allocations: 47.91 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.7067, allocations: 13.48 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.7072, allocations: 182.6 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.7075, allocations: 0.6887 MB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.011e-05/0.7076, allocations: 15.98 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.7076, allocations: 15.42 kB / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7076, allocations: 0 / 1.03 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.003385/0.711, allocations: 1.004 MB / 1.031 GB, free: 7.723 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches