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.001656/0.001656, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001405/0.001405, allocations: 195.8 kB / 16.14 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.829/2.829, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7986, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003222/0.8018, allocations: 1.597 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.8033, allocations: 0.7644 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.8033, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.8034, allocations: 3.984 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.8035, allocations: 15.88 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.8038, allocations: 75.8 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.8039, allocations: 51.72 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.8041, allocations: 11.98 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.8042, allocations: 23.92 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.8043, allocations: 23.92 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.8043, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.8044, allocations: 59.94 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.8045, allocations: 15.92 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.8045, allocations: 15.88 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8047, allocations: 97.78 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8047, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.8047, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.8048, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 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.0005475/0.8053, allocations: 387.2 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8054, allocations: 8.031 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.8057, allocations: 24.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.8058, allocations: 180.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.8059, allocations: 384 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.8059, allocations: 384 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.8062, allocations: 89.95 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8062, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.8062, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8062, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.8065, allocations: 67.94 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.8071, allocations: 328.5 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.8074, allocations: 74.53 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.8076, allocations: 40.91 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.8076, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.8076, allocations: 38.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8076, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005735/0.8082, allocations: 133.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.8083, allocations: 55.41 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.8084, allocations: 125.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.8084, allocations: 25.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.8085, allocations: 92.05 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.8085, allocations: 3.906 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.8086, allocations: 21.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8088, allocations: 326.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.8089, allocations: 35.97 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8091, allocations: 31.97 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.8093, allocations: 64.81 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8093, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003444/0.8097, allocations: 109.5 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8097, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8097, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8097, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.8099, allocations: 23.97 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8099, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.81, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.81, allocations: 0 / 1.022 GB, free: 13.54 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.000101/0.8101, allocations: 114.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.8102, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.8102, allocations: 11.89 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8102, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8102, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.8103, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.8105, allocations: 193.5 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8105, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.8106, allocations: 15.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.8106, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.8107, allocations: 3.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8107, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8107, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.8111, allocations: 215.3 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.8111, allocations: 81.02 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.8112, allocations: 8 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.8113, allocations: 7.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.8113, allocations: 384 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.8114, allocations: 7.984 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.8115, allocations: 99.2 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8115, allocations: 3.938 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002784/0.8117, allocations: 28 kB / 1.022 GB, free: 12.66 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.000213/0.812, allocations: 119.2 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.8123, allocations: 79.86 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8124, allocations: 4 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.8125, allocations: 35.97 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.8128, allocations: 11.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.8133, allocations: 176.9 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.8136, allocations: 0.6848 MB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.283e-05/0.8137, allocations: 15.98 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.8138, allocations: 11.44 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8138, allocations: 0 / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.003737/0.8175, allocations: 1.016 MB / 1.024 GB, free: 10.46 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