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.0009892/0.0009893, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.422 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.406/2.406, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7509, allocations: 142.4 MB / 0.9545 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001391/0.7524, allocations: 1.236 MB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.7533, allocations: 0.7139 MB / 0.9564 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.7533, allocations: 1.094 kB / 0.9564 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.7534, allocations: 3.938 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.7534, allocations: 13.19 kB / 0.9564 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.7537, allocations: 68.17 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.7538, allocations: 53.23 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.191e-05/0.7539, allocations: 13 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.754, allocations: 17.75 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.7541, allocations: 25.05 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.7541, allocations: 1.094 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.7542, allocations: 61.48 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.7542, allocations: 8.984 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.7543, allocations: 33.02 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.7544, allocations: 73.39 kB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7544, allocations: 1 kB / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7544, allocations: 0 / 0.9567 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.7544, allocations: 0 / 0.9567 GB, free: 5.961 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.0003471/0.7547, allocations: 371.1 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.7548, allocations: 9.781 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.7551, allocations: 33.14 kB / 0.9571 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.7551, allocations: 174.5 kB / 0.9573 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7552, allocations: 0 / 0.9573 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.7552, allocations: 5.844 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.7554, allocations: 75.77 kB / 0.9574 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7554, allocations: 5 kB / 0.9574 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7554, allocations: 11.94 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7555, allocations: 0.9688 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.7557, allocations: 74.05 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.7561, allocations: 321.6 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.7563, allocations: 75.16 kB / 0.9578 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.7565, allocations: 46.86 kB / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.7565, allocations: 1.219 kB / 0.9579 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.7565, allocations: 39.95 kB / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7565, allocations: 0 / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004708/0.757, allocations: 145.8 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.757, allocations: 53.53 kB / 0.9581 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.7571, allocations: 119 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.7571, allocations: 29.7 kB / 0.9582 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.7571, allocations: 85.95 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.7572, allocations: 13.81 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.7572, allocations: 0 / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.7572, allocations: 320.9 kB / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.7573, allocations: 33.19 kB / 0.9587 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.7575, allocations: 43.95 kB / 0.9587 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.7576, allocations: 31.7 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7576, allocations: 1.562 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002736/0.7579, allocations: 113.9 kB / 0.9588 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.7579, allocations: 4.844 kB / 0.9589 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7579, allocations: 3.953 kB / 0.9589 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.7579, allocations: 3.938 kB / 0.9589 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.758, allocations: 16.11 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7581, allocations: 5.344 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.7581, allocations: 9.547 kB / 0.9589 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7582, allocations: 6.641 kB / 0.9589 GB, free: 3.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.7582, allocations: 111.3 kB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.7582, allocations: 11.81 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.7583, allocations: 5.406 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.7583, allocations: 9.359 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.7583, allocations: 0 / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7583, allocations: 0 / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.7585, allocations: 191.1 kB / 0.9592 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7585, allocations: 1.688 kB / 0.9592 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.7586, allocations: 22.97 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7586, allocations: 1.875 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.7586, allocations: 4 kB / 0.9592 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7586, allocations: 5.703 kB / 0.9592 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7586, allocations: 7.984 kB / 0.9593 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.7589, allocations: 207.7 kB / 0.9595 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.7589, allocations: 87.59 kB / 0.9595 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.759, allocations: 0 / 0.9595 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7591, allocations: 6.219 kB / 0.9595 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.7591, allocations: 10.62 kB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.7591, allocations: 1.5 kB / 0.9596 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.7592, allocations: 95.45 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7592, allocations: 1.375 kB / 0.9596 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002587/0.7594, allocations: 28.53 kB / 0.9597 GB, free: 3.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.7596, allocations: 125.6 kB / 0.9598 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.7599, allocations: 82.67 kB / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7599, allocations: 0 / 0.9599 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.76, allocations: 50.03 kB / 0.9599 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.7603, allocations: 2.625 kB / 0.9599 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.7606, allocations: 183.8 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.967e-05/0.7607, allocations: 0.6864 MB / 0.9608 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.54e-05/0.7608, allocations: 16.61 kB / 0.9608 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.7609, allocations: 15.55 kB / 0.9608 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7609, allocations: 0 / 0.9608 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.003204/0.7641, allocations: 0.9913 MB / 0.9618 GB, free: 1.594 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