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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001529/0.001529, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.001549/0.001549, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.61 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3229, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.004535/0.3275, allocations: 1.536 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3295, allocations: 0.7605 MB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.3296, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.3297, allocations: 7.938 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3298, allocations: 11.88 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.3304, allocations: 91.64 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3305, allocations: 51.73 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3306, allocations: 11.89 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3307, allocations: 31.92 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.3308, allocations: 23.91 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3309, allocations: 7.938 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.3311, allocations: 67.94 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.3311, allocations: 7.938 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.3312, allocations: 27.86 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3315, allocations: 95.75 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3315, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3315, allocations: 0 / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3315, allocations: 0 / 0.9538 GB, free: 5.316 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.0006719/0.3322, allocations: 376.3 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3322, allocations: 19.95 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.3328, allocations: 20.91 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.333, allocations: 172.2 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.333, allocations: 4.375 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.333, allocations: 4.375 kB / 0.9544 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.3334, allocations: 89.94 kB / 0.9544 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3335, allocations: 3.984 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3335, allocations: 3.938 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3335, allocations: 4 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.334, allocations: 55.95 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.3348, allocations: 328.7 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.3353, allocations: 74.53 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3355, allocations: 36.94 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.3355, allocations: 11.92 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3356, allocations: 30.56 kB / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.3356, allocations: 0 / 0.955 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0008934/0.3365, allocations: 129.6 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3366, allocations: 55.41 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3367, allocations: 117.8 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3368, allocations: 25.7 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.3369, allocations: 100 kB / 0.9554 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3369, allocations: 11.83 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.337, allocations: 21.7 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3372, allocations: 326.8 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3374, allocations: 27.98 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3376, allocations: 35.91 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.3381, allocations: 64.75 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3381, allocations: 4 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005708/0.3387, allocations: 105.6 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3387, allocations: 4 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3388, allocations: 3.984 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3388, allocations: 0 / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.339, allocations: 19.97 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3391, allocations: 4 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3392, allocations: 7.906 kB / 0.956 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3393, allocations: 7.984 kB / 0.956 GB, free: 2.832 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 0.000125/0.3394, allocations: 119.7 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.3395, allocations: 4 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.3396, allocations: 7.906 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3396, allocations: 4 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3396, allocations: 4 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3396, allocations: 0 / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.34, allocations: 193.4 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.34, allocations: 3.984 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.3402, allocations: 15.98 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3402, allocations: 0 / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3402, allocations: 3.984 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3403, allocations: 0 / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3403, allocations: 4.328 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.3409, allocations: 203.3 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.341, allocations: 93 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.341, allocations: 4 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3413, allocations: 7.938 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.3413, allocations: 7.984 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.3414, allocations: 4 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.095e-05/0.3415, allocations: 91.27 kB / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3415, allocations: 0 / 0.9567 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004705/0.342, allocations: 24 kB / 0.9567 GB, free: 1.953 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.0002717/0.3423, allocations: 135.1 kB / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.3428, allocations: 75.94 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3428, allocations: 0 / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.3431, allocations: 39.91 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3436, allocations: 7.938 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.3442, allocations: 171.1 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3447, allocations: 0.6807 MB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.3448, allocations: 19.94 kB / 0.9578 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.3449, allocations: 15.42 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.3449, allocations: 0 / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of Templates: time 0.003856/0.3488, allocations: 1.088 MB / 0.9589 GB, free: 15.68 MB / 0.7481 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 -s gbode -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) Reference file matches