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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001484/0.001484, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.8 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.09 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002724/0.3217, allocations: 1.596 MB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3229, allocations: 0.7868 MB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.3229, allocations: 0 / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.323, allocations: 3.938 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.3231, allocations: 7.875 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3234, allocations: 75.8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.3235, allocations: 51.78 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.3236, allocations: 11.98 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.3237, allocations: 23.86 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3237, allocations: 23.92 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3238, allocations: 3.938 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3239, allocations: 67.94 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.3239, allocations: 7.984 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.324, allocations: 19.88 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3241, allocations: 104 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3242, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3242, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.3242, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 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.0004992/0.3247, allocations: 371.3 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3247, allocations: 8.031 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.3251, allocations: 28.91 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3253, allocations: 176.2 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3253, allocations: 384 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3253, allocations: 4.375 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3256, allocations: 81.89 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3257, allocations: 8 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3257, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3257, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.326, allocations: 67.94 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.3265, allocations: 316.8 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.3268, allocations: 74.47 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3269, allocations: 44.86 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.327, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.327, allocations: 34.56 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.327, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.3275, allocations: 133.6 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3276, allocations: 51.41 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3277, allocations: 117.8 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3277, allocations: 37.64 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.3278, allocations: 88.05 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3278, allocations: 11.78 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.3279, allocations: 25.7 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.328, allocations: 318.8 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3281, allocations: 31.97 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3283, allocations: 39.97 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.3286, allocations: 65.08 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3286, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003428/0.3289, allocations: 105.5 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3289, allocations: 4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3289, allocations: 4 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.329, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.3291, allocations: 19.91 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3291, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.3292, allocations: 11.98 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3293, allocations: 12 kB / 1.057 GB, free: 3.582 MB / 0.8106 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.649e-05/0.3294, allocations: 113.8 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3294, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.3295, allocations: 15.89 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3295, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3295, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3295, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3297, allocations: 193.5 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3297, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3298, allocations: 11.98 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3298, allocations: 3.984 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3299, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3299, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3299, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3303, allocations: 215.3 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.3303, allocations: 81.02 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3303, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3305, allocations: 7.984 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3305, allocations: 4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3305, allocations: 11.86 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.3306, allocations: 91.27 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3306, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002695/0.3309, allocations: 32 kB / 1.058 GB, free: 2.707 MB / 0.8106 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.0002133/0.3311, allocations: 119.2 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.3315, allocations: 71.94 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3315, allocations: 0 / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3316, allocations: 43.91 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3319, allocations: 13.3 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.3324, allocations: 165 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3327, allocations: 0.6926 MB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.302e-05/0.3328, allocations: 16.27 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3329, allocations: 15.42 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of SimCode: time 1.823e-06/0.3329, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.003235/0.3361, allocations: 1.031 MB / 1.06 GB, free: 0.4961 MB / 0.8106 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/jenkins/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