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.002094/0.002094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002284/0.002284, allocations: 194.5 kB / 16.26 MB, free: 6.629 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.562/1.562, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.928/2.928, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 0.8688 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7951, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00306/0.7982, allocations: 1.597 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.7995, allocations: 0.7489 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.7995, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.7996, allocations: 7.922 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.7997, allocations: 15.92 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.8001, allocations: 75.73 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.8002, allocations: 51.8 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.8003, allocations: 7.984 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.8004, allocations: 39.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.8005, allocations: 23.92 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.8005, allocations: 4 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.8006, allocations: 59.95 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.8007, allocations: 15.91 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.8007, allocations: 23.88 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.8009, allocations: 89.89 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8009, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8009, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8009, allocations: 0 / 1.02 GB, free: 15.95 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.0005498/0.8015, allocations: 387.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8015, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.8019, allocations: 24.91 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.802, allocations: 184.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.802, allocations: 384 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.8021, allocations: 384 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.8023, allocations: 93.73 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.8023, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.8024, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8024, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.8026, allocations: 67.94 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.8032, allocations: 324.5 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.8035, allocations: 78.47 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.8036, allocations: 36.92 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8037, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8037, allocations: 34.56 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8037, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005539/0.8043, allocations: 129.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.8043, allocations: 59.34 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8045, allocations: 117.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.8045, allocations: 25.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.8045, allocations: 96.05 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.8046, allocations: 3.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.8046, allocations: 21.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8048, allocations: 322.8 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.805, allocations: 39.91 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.8051, allocations: 35.95 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.8053, allocations: 60.81 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8054, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003153/0.8057, allocations: 109.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8057, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8057, allocations: 3.938 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8057, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.8059, allocations: 19.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8059, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.806, allocations: 15.89 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.806, allocations: 0 / 1.022 GB, free: 13.47 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 0.0001001/0.8061, allocations: 118.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.8061, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.8062, allocations: 11.89 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8062, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8062, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8062, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.8065, allocations: 189.5 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8066, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.8067, allocations: 15.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8067, allocations: 3.984 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8067, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8068, allocations: 3.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8068, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.8072, allocations: 215.3 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.8072, allocations: 81.02 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.8073, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.8074, allocations: 7.984 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.8074, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.8075, allocations: 7.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.8075, allocations: 95.27 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8075, allocations: 3.938 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002903/0.8078, allocations: 24 kB / 1.022 GB, free: 12.59 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.0002379/0.8081, allocations: 135.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.8084, allocations: 79.88 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8085, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.8086, allocations: 35.97 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.8089, allocations: 12.25 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.8094, allocations: 175.2 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.8098, allocations: 0.6846 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.8099, allocations: 20.34 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.8099, allocations: 15.42 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8099, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.003953/0.8139, allocations: 1.041 MB / 1.025 GB, free: 10.35 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=400 -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