Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001658/0.001658, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002046/0.002046, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.865/2.865, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002118/0.002118, allocations: 59.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002838/1.064, allocations: 1.562 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001195/1.065, allocations: 0.767 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/1.065, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/1.065, allocations: 3.938 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/1.065, allocations: 18.03 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/1.065, allocations: 106.6 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/1.065, allocations: 52.23 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/1.065, allocations: 13.27 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/1.066, allocations: 32.61 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/1.066, allocations: 23.3 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/1.066, allocations: 2.938 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/1.066, allocations: 67 kB / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/1.066, allocations: 18.09 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/1.066, allocations: 13.75 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/1.066, allocations: 114.1 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.066, allocations: 2.719 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.793e-06/1.066, allocations: 0 / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.066, allocations: 4 kB / 1.157 GB, free: 31.56 MB / 1.076 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.0004802/1.067, allocations: 309.5 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.067, allocations: 8.406 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/1.067, allocations: 43.78 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/1.067, allocations: 128.8 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/1.067, allocations: 4.375 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/1.067, allocations: 7.125 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/1.068, allocations: 77.59 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.068, allocations: 0 / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.068, allocations: 4 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.068, allocations: 3.938 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/1.068, allocations: 70.66 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/1.068, allocations: 251.7 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/1.069, allocations: 71.59 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.069, allocations: 37.09 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.069, allocations: 4 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.069, allocations: 44.75 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.069, allocations: 0 / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004934/1.069, allocations: 133.8 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/1.069, allocations: 55.34 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/1.069, allocations: 128.7 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.069, allocations: 25.7 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/1.069, allocations: 97.94 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/1.069, allocations: 10.44 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/1.069, allocations: 22.11 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.953e-05/1.07, allocations: 320.8 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.07, allocations: 26.84 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/1.07, allocations: 31.81 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/1.07, allocations: 78.42 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.07, allocations: 3.938 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002862/1.07, allocations: 103.4 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.07, allocations: 5.375 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.07, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.07, allocations: 4 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.07, allocations: 16.53 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.07, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/1.071, allocations: 12.53 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/1.071, allocations: 2.719 kB / 1.159 GB, free: 29.91 MB / 1.076 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 6.558e-05/1.071, allocations: 113 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/1.071, allocations: 9.609 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/1.071, allocations: 14.81 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/1.071, allocations: 0 / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.071, allocations: 0 / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.071, allocations: 2.594 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.071, allocations: 140.8 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.071, allocations: 3.281 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.071, allocations: 11.98 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.071, allocations: 2.906 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.071, allocations: 3.188 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.071, allocations: 0 / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.071, allocations: 6.562 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/1.071, allocations: 195.8 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/1.071, allocations: 6.891 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.071, allocations: 0 / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/1.071, allocations: 9 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/1.071, allocations: 10.05 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.071, allocations: 0 / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.262e-05/1.072, allocations: 105 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002776/1.072, allocations: 30.22 kB / 1.159 GB, free: 29.37 MB / 1.076 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.0001585/1.072, allocations: 117.6 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003079/1.072, allocations: 74.53 kB / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.072, allocations: 4 kB / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/1.072, allocations: 36.62 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/1.073, allocations: 10.44 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/1.073, allocations: 187.1 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/1.073, allocations: 72.75 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.198e-05/1.073, allocations: 20.72 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/1.073, allocations: 18.34 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of SimCode: time 6.51e-07/1.073, allocations: 0 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of Templates: time 0.003803/1.077, allocations: 1.119 MB / 1.161 GB, free: 28.84 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.4494195060106]