Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.0008412/0.0008408, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00657/0.00657, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 9.969 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001992/0.3401, allocations: 1.251 MB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3413, allocations: 0.7597 MB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.3413, allocations: 0 / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.3414, allocations: 3.984 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.3414, allocations: 19.86 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.3418, allocations: 78.98 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.3418, allocations: 43.8 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.3419, allocations: 11.98 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3421, allocations: 27.91 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.3422, allocations: 19.92 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3422, allocations: 4 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3423, allocations: 67.83 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3424, allocations: 7.969 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.3424, allocations: 45.58 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3426, allocations: 92.05 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3426, allocations: 3.938 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3426, allocations: 0 / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3426, allocations: 0 / 1.077 GB, free: 5.027 MB / 0.8262 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.0004581/0.3431, allocations: 375.3 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3431, allocations: 8.031 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.3434, allocations: 20.91 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3436, allocations: 184.1 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3436, allocations: 8.375 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.3436, allocations: 384 / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.3439, allocations: 97.94 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.3439, allocations: 0 / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.344, allocations: 0 / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.344, allocations: 0 / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.3443, allocations: 75.94 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.3448, allocations: 324.5 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3451, allocations: 78.53 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3452, allocations: 48.91 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3453, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3453, allocations: 34.56 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3453, allocations: 0 / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005559/0.3459, allocations: 145.5 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.3459, allocations: 59.41 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.346, allocations: 113.8 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.346, allocations: 25.7 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.3461, allocations: 99.98 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3461, allocations: 7.844 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.3462, allocations: 9.719 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3463, allocations: 330.8 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3464, allocations: 35.97 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3466, allocations: 27.98 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.3468, allocations: 80.8 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3469, allocations: 0 / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003298/0.3472, allocations: 117.6 kB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3472, allocations: 4 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3472, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3472, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3474, allocations: 19.97 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3474, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.3475, allocations: 23.83 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3475, allocations: 0 / 1.079 GB, free: 2.496 MB / 0.8262 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.000119/0.3476, allocations: 117.8 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3477, allocations: 0 / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.3477, allocations: 7.906 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3477, allocations: 3.984 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3477, allocations: 0 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3478, allocations: 4 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.348, allocations: 193.6 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.348, allocations: 0 / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3481, allocations: 15.98 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3481, allocations: 0 / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3481, allocations: 3.984 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3481, allocations: 7.938 kB / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3481, allocations: 0 / 1.079 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.3486, allocations: 211.3 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.3487, allocations: 85.02 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3487, allocations: 0 / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3488, allocations: 11.98 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3489, allocations: 8.375 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3489, allocations: 7.984 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.3489, allocations: 91.22 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 4 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002708/0.3492, allocations: 27.98 kB / 1.08 GB, free: 1.609 MB / 0.8262 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.000199/0.3494, allocations: 123.2 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.3498, allocations: 91.86 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3498, allocations: 0 / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.35, allocations: 43.97 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3503, allocations: 11.94 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.3507, allocations: 182.5 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.351, allocations: 0.6848 MB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.191e-05/0.3511, allocations: 19.98 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.3511, allocations: 15.36 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3511, allocations: 4 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of Templates: time 0.003426/0.3546, allocations: 0.9932 MB / 1.082 GB, free: 15.39 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches