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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.513/3.513, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 70.45 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002869/0.3631, allocations: 1.552 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3644, allocations: 0.7646 MB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.3645, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.3645, allocations: 7.922 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.3646, allocations: 19.86 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.365, allocations: 99.64 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3651, allocations: 59.72 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.3652, allocations: 8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3654, allocations: 39.84 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.3654, allocations: 23.86 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3655, allocations: 11.94 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3656, allocations: 67.92 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.3656, allocations: 8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.3656, allocations: 19.86 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3658, allocations: 107.6 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3658, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3658, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3658, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 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.0004878/0.3663, allocations: 298 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3664, allocations: 8.031 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.3668, allocations: 48.83 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.3671, allocations: 142.3 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3671, allocations: 384 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3671, allocations: 384 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3674, allocations: 85.94 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3674, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3674, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3674, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.3677, allocations: 63.95 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.3682, allocations: 260.5 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3684, allocations: 82.47 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3686, allocations: 36.92 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3686, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3686, allocations: 38.5 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3686, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005627/0.3692, allocations: 145.5 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3692, allocations: 51.41 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3694, allocations: 128.2 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3694, allocations: 25.7 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.3694, allocations: 84.14 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3695, allocations: 19.88 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3695, allocations: 17.7 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3697, allocations: 314.8 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3698, allocations: 39.97 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3699, allocations: 31.97 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3702, allocations: 60.81 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3702, allocations: 3.938 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.3705, allocations: 113.5 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3705, allocations: 7.984 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3705, allocations: 0 / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3706, allocations: 0 / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3707, allocations: 15.98 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3707, allocations: 3.938 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.3708, allocations: 11.98 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3708, allocations: 0 / 1.369 GB, free: 8.531 MB / 1.061 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.0001137/0.3709, allocations: 121.8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.371, allocations: 7.953 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.371, allocations: 12 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.371, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.371, allocations: 4 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.371, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3712, allocations: 129.2 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3712, allocations: 8 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.3713, allocations: 15.97 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.3713, allocations: 0 / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3713, allocations: 4 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3713, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3713, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.3717, allocations: 223.3 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.3717, allocations: 3.953 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3718, allocations: 0 / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3719, allocations: 7.984 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.3719, allocations: 4 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3719, allocations: 3.984 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.615e-05/0.372, allocations: 99.27 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 0 / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002717/0.3722, allocations: 31.88 kB / 1.369 GB, free: 7.801 MB / 1.061 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.0001941/0.3724, allocations: 115.2 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3728, allocations: 76.25 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3728, allocations: 0 / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3729, allocations: 39.95 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3732, allocations: 10.52 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.3736, allocations: 183.4 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.3737, allocations: 71.33 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.581e-05/0.3738, allocations: 19.97 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.3739, allocations: 19.42 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3739, allocations: 0 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of Templates: time 0.00408/0.3779, allocations: 1.159 MB / 1.371 GB, free: 6.086 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.343325264751911]