Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00167/0.001671, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001792/0.001792, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.12 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3124, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003334/0.3158, allocations: 1.532 MB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3172, allocations: 0.7527 MB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.3172, allocations: 0 / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.3173, allocations: 11.92 kB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.06e-05/0.3174, allocations: 11.88 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.3178, allocations: 83.72 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.318, allocations: 59.7 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3181, allocations: 19.89 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3182, allocations: 31.86 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.3183, allocations: 23.92 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3183, allocations: 4 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.3185, allocations: 63.94 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3185, allocations: 11.92 kB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3185, allocations: 19.88 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3187, allocations: 96.03 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3187, allocations: 4 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3187, allocations: 0 / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3188, allocations: 0 / 0.9529 GB, free: 6.141 MB / 0.7325 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.0005351/0.3193, allocations: 375.3 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3193, allocations: 8.031 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3197, allocations: 24.91 kB / 0.9533 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3198, allocations: 180.2 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3199, allocations: 4.312 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3199, allocations: 4.375 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3201, allocations: 85.89 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3201, allocations: 0 / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3202, allocations: 4 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3202, allocations: 0 / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.3204, allocations: 67.94 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.321, allocations: 320.5 kB / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.3212, allocations: 74.47 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3214, allocations: 44.92 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3214, allocations: 3.984 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3214, allocations: 30.56 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3214, allocations: 0 / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005521/0.322, allocations: 137.6 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.3221, allocations: 55.39 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.3222, allocations: 109.8 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3222, allocations: 29.7 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3224, allocations: 92.05 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.3224, allocations: 11.83 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3225, allocations: 25.7 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3226, allocations: 318.7 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3228, allocations: 35.97 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3229, allocations: 35.97 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3232, allocations: 61.09 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3232, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003091/0.3236, allocations: 109.6 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3236, allocations: 4 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3236, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3236, allocations: 4 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3238, allocations: 19.91 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3238, allocations: 3.938 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.3239, allocations: 19.89 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3239, allocations: 4 kB / 0.9551 GB, free: 3.66 MB / 0.7325 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 8.911e-05/0.324, allocations: 109.8 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.324, allocations: 4 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.3241, allocations: 15.89 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3241, allocations: 0 / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3241, allocations: 0 / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3241, allocations: 4 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.3243, allocations: 193.5 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3243, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3245, allocations: 15.97 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3245, allocations: 3.938 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3245, allocations: 4 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3245, allocations: 3.984 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3245, allocations: 0 / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3249, allocations: 211.3 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.3249, allocations: 85.02 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.325, allocations: 0 / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3251, allocations: 7.984 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.3251, allocations: 0 / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3251, allocations: 11.98 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.3252, allocations: 91.27 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3252, allocations: 0 / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002869/0.3255, allocations: 36 kB / 0.9559 GB, free: 2.777 MB / 0.7325 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.0002241/0.3257, allocations: 119.2 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.3261, allocations: 75.94 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3261, allocations: 0 / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3263, allocations: 47.83 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3266, allocations: 8.703 kB / 0.9561 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3271, allocations: 188.8 kB / 0.9563 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3274, allocations: 0.6846 MB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.3274, allocations: 23.42 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3274, allocations: 0 / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of Templates: time 0.002891/0.3303, allocations: 1.307 MB / 0.9583 GB, free: 276 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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