Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 186 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002961/1.044, allocations: 1.557 MB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001404/1.046, allocations: 0.7726 MB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/1.046, allocations: 0 / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/1.046, allocations: 11.92 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/1.046, allocations: 14.58 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/1.046, allocations: 87.12 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/1.047, allocations: 60.84 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/1.047, allocations: 7.688 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/1.047, allocations: 27.5 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/1.047, allocations: 29.23 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/1.047, allocations: 3.312 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/1.047, allocations: 66.44 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/1.047, allocations: 14.14 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/1.047, allocations: 22.78 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/1.047, allocations: 101.9 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.047, allocations: 1.062 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/1.047, allocations: 0 / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.047, allocations: 0 / 1.221 GB, free: 1.672 MB / 0.92 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.0005424/1.048, allocations: 386.4 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.048, allocations: 9.469 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/1.048, allocations: 26.25 kB / 1.222 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.048, allocations: 175.4 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/1.048, allocations: 1.438 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.048, allocations: 2.781 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/1.049, allocations: 87.62 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.049, allocations: 1.312 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.049, allocations: 0 / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.049, allocations: 5.094 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/1.049, allocations: 66.44 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/1.049, allocations: 316.9 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/1.05, allocations: 71.81 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.05, allocations: 38.86 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/1.05, allocations: 4 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.05, allocations: 35.62 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/1.05, allocations: 0 / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004958/1.05, allocations: 130.9 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.05, allocations: 60.41 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.051, allocations: 117.2 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1.051, allocations: 25.7 kB / 1.223 GB, free: 208 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/1.051, allocations: 90.42 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.051, allocations: 5.078 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/1.051, allocations: 23.17 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.051, allocations: 319.9 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/1.051, allocations: 37.47 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.051, allocations: 41.41 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/1.051, allocations: 61.12 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.051, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/1.052, allocations: 106.2 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.052, allocations: 9.25 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.052, allocations: 1.094 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.052, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.052, allocations: 18.31 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/1.052, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.7e-05/1.052, allocations: 12.23 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/1.052, allocations: 2.969 kB / 1.223 GB, free: 15.6 MB / 0.9356 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.0001101/1.052, allocations: 127.9 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/1.052, allocations: 6.172 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/1.052, allocations: 14.42 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.052, allocations: 0.6875 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.052, allocations: 0 / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.052, allocations: 0.8125 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/1.052, allocations: 207.8 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.052, allocations: 0 / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.053, allocations: 14.14 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.053, allocations: 336 / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/1.053, allocations: 5.609 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.053, allocations: 0.75 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.053, allocations: 0 / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/1.053, allocations: 209.9 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/1.053, allocations: 82.17 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.053, allocations: 1.094 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/1.053, allocations: 8.359 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/1.053, allocations: 5.094 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.053, allocations: 6.016 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.759e-05/1.053, allocations: 101.1 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.053, allocations: 0 / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002846/1.054, allocations: 29.53 kB / 1.224 GB, free: 14.82 MB / 0.9356 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.0001934/1.054, allocations: 123.1 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003164/1.054, allocations: 66.22 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.054, allocations: 8 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/1.054, allocations: 33.06 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/1.054, allocations: 18.11 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/1.055, allocations: 154.1 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.055, allocations: 0.6891 MB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.469e-05/1.055, allocations: 17.23 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/1.055, allocations: 14.7 kB / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.055, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of Templates: time 0.00397/1.059, allocations: 1.117 MB / 1.226 GB, free: 13.21 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.968805947341025]