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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001404/0.001404, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.436/2.436, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.7334, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002639/0.7361, allocations: 1.591 MB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.7371, allocations: 0.7592 MB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.7371, allocations: 0 / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.7371, allocations: 0 / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.7372, allocations: 18.72 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.7375, allocations: 81.36 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.7376, allocations: 51.08 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.7377, allocations: 12.14 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.7378, allocations: 22.38 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.7379, allocations: 26.28 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.7379, allocations: 1.438 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.7381, allocations: 72.89 kB / 0.9515 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.7381, allocations: 9.453 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.7381, allocations: 23.67 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.7383, allocations: 84.86 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7383, allocations: 7.938 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7383, allocations: 0 / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7383, allocations: 0 / 0.9516 GB, free: 7.051 MB / 0.7169 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.0004143/0.7387, allocations: 374.6 kB / 0.952 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7388, allocations: 9.625 kB / 0.952 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.7391, allocations: 34.55 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.7392, allocations: 175 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7392, allocations: 1.75 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.7392, allocations: 5.75 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.7394, allocations: 84.69 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.7395, allocations: 4 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7395, allocations: 5.094 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7395, allocations: 3.938 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.7397, allocations: 59.11 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.7402, allocations: 333 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.7404, allocations: 64.86 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.7406, allocations: 38.86 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.7406, allocations: 1.438 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.7406, allocations: 42.55 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7406, allocations: 0 / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005012/0.7411, allocations: 132.3 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.7411, allocations: 51.41 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.7412, allocations: 120.9 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.7412, allocations: 25.7 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.7413, allocations: 98.56 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.7413, allocations: 9.062 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.7414, allocations: 18.23 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.7414, allocations: 321.1 kB / 0.9535 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.7416, allocations: 36.03 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.7417, allocations: 34.69 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.7419, allocations: 60.06 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7419, allocations: 5.469 kB / 0.9537 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002937/0.7422, allocations: 106.7 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.7423, allocations: 6 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7423, allocations: 3.984 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.7423, allocations: 1.188 kB / 0.9538 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.7424, allocations: 13.89 kB / 0.9538 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7424, allocations: 3.984 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.7425, allocations: 8.734 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.7425, allocations: 10.3 kB / 0.9538 GB, free: 4.969 MB / 0.7169 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 5.658e-05/0.7426, allocations: 116.1 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.7426, allocations: 6.281 kB / 0.9539 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.7427, allocations: 10.81 kB / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7427, allocations: 0 / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7427, allocations: 1.312 kB / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.7427, allocations: 0 / 0.9539 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7429, allocations: 195.5 kB / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7429, allocations: 0 / 0.9541 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.743, allocations: 22.72 kB / 0.9542 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.743, allocations: 0 / 0.9542 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.743, allocations: 0.8438 kB / 0.9542 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.743, allocations: 5.078 kB / 0.9542 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.743, allocations: 4 kB / 0.9542 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.7434, allocations: 201.3 kB / 0.9544 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.7434, allocations: 87.62 kB / 0.9544 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.7434, allocations: 0 / 0.9544 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.7436, allocations: 8.719 kB / 0.9544 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.7436, allocations: 5.203 kB / 0.9545 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.7436, allocations: 2.312 kB / 0.9545 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.7437, allocations: 100.8 kB / 0.9546 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7437, allocations: 0 / 0.9546 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002683/0.7439, allocations: 25.78 kB / 0.9546 GB, free: 4.207 MB / 0.7169 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.000167/0.7441, allocations: 124.6 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.7445, allocations: 74.39 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7445, allocations: 5.375 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.7446, allocations: 36.88 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.745, allocations: 9.438 kB / 0.9548 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.7454, allocations: 191.5 kB / 0.955 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.7455, allocations: 0.6823 MB / 0.9557 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.129e-05/0.7456, allocations: 20.5 kB / 0.9557 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.7456, allocations: 14.33 kB / 0.9557 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7456, allocations: 0 / 0.9557 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.002854/0.7485, allocations: 1.012 MB / 0.9567 GB, free: 2.629 MB / 0.7169 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