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.001536/0.001536, allocations: 110.5 kB / 16.42 MB, free: 6.508 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.001761/0.001761, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.88 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7247/0.726, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002617/0.7287, allocations: 1.531 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.7299, allocations: 0.7635 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.73, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.73, allocations: 3.938 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.7302, allocations: 15.86 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.7306, allocations: 91.66 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.7307, allocations: 55.72 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.7308, allocations: 8 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.7309, allocations: 23.92 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.731, allocations: 23.91 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.731, allocations: 4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.7312, allocations: 71.94 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.7312, allocations: 15.88 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.7313, allocations: 27.84 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.7315, allocations: 91.62 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7315, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7315, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7315, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 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.0004716/0.732, allocations: 377.1 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.732, allocations: 8.031 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.7323, allocations: 36.8 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.7325, allocations: 172.2 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7325, allocations: 384 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.7325, allocations: 384 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.7328, allocations: 85.94 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7328, allocations: 0 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7328, allocations: 0 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7328, allocations: 4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.7331, allocations: 67.89 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.7336, allocations: 320.8 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.7338, allocations: 74.55 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.734, allocations: 36.92 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.734, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.734, allocations: 38.5 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.734, allocations: 4 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005223/0.7346, allocations: 137.5 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.7346, allocations: 51.41 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.7347, allocations: 125.7 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.7347, allocations: 25.7 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.7348, allocations: 92.12 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.7348, allocations: 7.906 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.7349, allocations: 21.7 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.735, allocations: 314.8 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7351, allocations: 31.97 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7352, allocations: 36.16 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.7355, allocations: 80.77 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7355, allocations: 3.938 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003159/0.7358, allocations: 113.5 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7358, allocations: 4 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7359, allocations: 0 / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7359, allocations: 0 / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.736, allocations: 15.98 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.736, allocations: 0 / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.7361, allocations: 7.984 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.7361, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.9356 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.814e-05/0.7362, allocations: 125.7 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.7363, allocations: 11.91 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.7363, allocations: 3.906 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7363, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7363, allocations: 4 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.7364, allocations: 85.05 kB / 1.214 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.7364, allocations: 0 / 1.214 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7365, allocations: 7.984 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.7366, allocations: 11.94 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004068/0.737, allocations: 184.9 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003695/0.7374, allocations: 282.6 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001364/0.7375, allocations: 31.97 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.7376, allocations: 95.27 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of Backend: time 5.01e-07/0.7376, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005483/0.7381, allocations: 150.3 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004838/0.7386, allocations: 0.5899 MB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.003914/0.7426, allocations: 1.556 MB / 1.216 GB, free: 5.254 MB / 0.9356 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) Reference file matches