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.001454/0.001454, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001499/0.001499, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.406/2.406, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.832, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003032/0.8351, allocations: 1.526 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.8366, allocations: 0.7566 MB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.8367, allocations: 0 / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.8368, allocations: 3.938 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.8369, allocations: 19.84 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.8373, allocations: 87.66 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.8374, allocations: 59.67 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8376, allocations: 11.98 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.8377, allocations: 23.92 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.8378, allocations: 27.91 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.8378, allocations: 4 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.838, allocations: 59.95 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.838, allocations: 15.91 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.8381, allocations: 23.88 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.8383, allocations: 95.62 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.8383, allocations: 4 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8383, allocations: 3.938 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8383, allocations: 0 / 1.17 GB, free: 1.113 MB / 0.8887 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.0005385/0.8389, allocations: 377.1 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8389, allocations: 8.625 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.8393, allocations: 32.81 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.8394, allocations: 184.2 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.8394, allocations: 384 / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.8395, allocations: 4.375 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.8397, allocations: 77.95 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8398, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8398, allocations: 4 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8398, allocations: 4 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.8401, allocations: 67.88 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.8406, allocations: 316.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.8409, allocations: 74.53 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.8411, allocations: 36.92 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.8411, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.8411, allocations: 38.56 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8411, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005795/0.8417, allocations: 137.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.8418, allocations: 51.41 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.8419, allocations: 121.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.8419, allocations: 25.7 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.842, allocations: 96.14 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.842, allocations: 3.906 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.842, allocations: 17.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8422, allocations: 326.8 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.8423, allocations: 31.97 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.8424, allocations: 31.97 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.8427, allocations: 72.75 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8427, allocations: 3.938 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.843, allocations: 105.5 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.843, allocations: 11.94 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8431, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8431, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.8432, allocations: 19.97 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8432, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8433, allocations: 7.984 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.8434, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 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 9.132e-05/0.8435, allocations: 117.8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.8435, allocations: 11.91 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.8436, allocations: 11.89 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8436, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8436, allocations: 4.328 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8436, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.8438, allocations: 193.4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.8438, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.8439, allocations: 19.92 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8439, allocations: 7.984 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.844, allocations: 3.984 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.844, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.844, allocations: 0 / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.8443, allocations: 199.4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.8444, allocations: 85.02 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.8444, allocations: 4 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.8445, allocations: 11.98 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.8446, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.8446, allocations: 11.98 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.8447, allocations: 87.72 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8447, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002794/0.8449, allocations: 27.98 kB / 1.173 GB, free: 13.77 MB / 0.9044 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.0002119/0.8452, allocations: 139.1 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.8455, allocations: 67.94 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8455, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.8457, allocations: 35.97 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.846, allocations: 16.25 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.8465, allocations: 196.7 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.8467, allocations: 0.6846 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.8468, allocations: 15.42 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8468, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.00318/0.85, allocations: 1.291 MB / 1.175 GB, free: 11.27 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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