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.001408/0.001407, allocations: 113.3 kB / 15.7 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 200.1 kB / 16.64 MB, free: 6.609 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.44/1.44, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.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.395/2.395, allocations: 390.3 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 62.78 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3052, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002781/0.308, allocations: 1.525 MB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3094, allocations: 0.7618 MB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.3095, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3095, allocations: 11.86 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.3097, allocations: 7.875 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3101, allocations: 87.66 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3102, allocations: 63.77 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.3103, allocations: 8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.969e-05/0.3104, allocations: 27.92 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.3105, allocations: 23.86 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3105, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3107, allocations: 63.94 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.3107, allocations: 11.98 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.3108, allocations: 23.88 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.311, allocations: 99.69 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.311, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.311, allocations: 3.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.311, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 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.0005119/0.3115, allocations: 379.2 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3116, allocations: 8.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3119, allocations: 28.81 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3121, allocations: 172.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3121, allocations: 4.375 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3121, allocations: 384 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3124, allocations: 85.95 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3124, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3124, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3124, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.3127, allocations: 75.88 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.3132, allocations: 320.5 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.3135, allocations: 74.53 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3136, allocations: 40.92 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3137, allocations: 3.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3137, allocations: 30.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.685e-06/0.3137, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005427/0.3142, allocations: 149.4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3143, allocations: 55.39 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.3144, allocations: 114.2 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3144, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.3145, allocations: 88.08 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3145, allocations: 23.83 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3145, allocations: 17.7 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3147, allocations: 318.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3148, allocations: 31.97 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3149, allocations: 31.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3152, allocations: 72.75 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3152, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003283/0.3156, allocations: 101.5 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3156, allocations: 8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3156, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3156, allocations: 336 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3158, allocations: 15.97 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3158, allocations: 0 / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.3159, allocations: 7.984 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3159, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 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.936e-05/0.316, allocations: 117.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.316, allocations: 3.984 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.3161, allocations: 15.89 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3161, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3161, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3161, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3163, allocations: 193.5 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3163, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3164, allocations: 23.91 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3164, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3164, allocations: 8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3165, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3165, allocations: 3.938 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.3168, allocations: 199.4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3169, allocations: 81.02 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3169, allocations: 4 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.317, allocations: 7.984 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.3171, allocations: 8 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3171, allocations: 3.984 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.3172, allocations: 95.31 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3172, allocations: 4 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002738/0.3174, allocations: 27.94 kB / 1.094 GB, free: 11.32 MB / 0.8575 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.0002019/0.3177, allocations: 127.7 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.318, allocations: 71.94 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.318, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3182, allocations: 39.95 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3185, allocations: 15.88 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.319, allocations: 167.2 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3192, allocations: 0.6884 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.742e-05/0.3193, allocations: 16 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.3194, allocations: 11.42 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3194, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of Templates: time 0.003354/0.3227, allocations: 1.079 MB / 1.096 GB, free: 9.066 MB / 0.8575 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/jenkins/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