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.00168/0.00168, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002122/0.002122, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.144/3.144, allocations: 0.4892 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.00215/0.00215, allocations: 70.48 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00293/0.3545, allocations: 1.546 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.356, allocations: 0.7752 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.3561, allocations: 0 / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.3561, allocations: 7.922 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.3562, allocations: 19.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.3566, allocations: 98.14 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3567, allocations: 59.78 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.3568, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.357, allocations: 43.84 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.646e-05/0.357, allocations: 19.86 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.357, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.3572, allocations: 75.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3572, allocations: 11.94 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.3573, allocations: 15.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3575, allocations: 107.6 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3575, allocations: 7.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3575, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3575, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 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.0005296/0.358, allocations: 301.9 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.358, allocations: 8.031 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.3585, allocations: 56.77 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3588, allocations: 134.3 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3588, allocations: 384 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3588, allocations: 4.375 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3591, allocations: 81.94 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3591, allocations: 0 / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3591, allocations: 8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3591, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.3594, allocations: 59.95 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3598, allocations: 256.5 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3601, allocations: 78.47 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3602, allocations: 36.92 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3603, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.3603, allocations: 38.56 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3603, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000528/0.3608, allocations: 137.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3609, allocations: 51.41 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.361, allocations: 129.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.361, allocations: 29.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.3611, allocations: 84.14 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3611, allocations: 23.83 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3612, allocations: 21.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3613, allocations: 314.8 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3615, allocations: 35.97 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3616, allocations: 39.95 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3618, allocations: 64.81 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3618, allocations: 3.938 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.3622, allocations: 109.5 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3622, allocations: 7.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3622, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3622, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3623, allocations: 19.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3623, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.3624, allocations: 11.98 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3624, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 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.0001019/0.3625, allocations: 117.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3626, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.3626, allocations: 15.94 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3626, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3626, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3626, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3628, allocations: 133.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3628, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3629, allocations: 19.97 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3629, allocations: 3.938 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3629, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3629, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3629, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3633, allocations: 199.4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.3633, allocations: 11.95 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3634, allocations: 4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3635, allocations: 7.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3635, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3635, allocations: 3.984 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.3636, allocations: 99.02 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3636, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002705/0.3639, allocations: 31.88 kB / 1.332 GB, free: 12.05 MB / 1.029 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.0002103/0.3641, allocations: 131.1 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.3644, allocations: 67.88 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3644, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3645, allocations: 43.95 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3648, allocations: 9.812 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.3652, allocations: 205 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.3653, allocations: 71.33 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.3654, allocations: 19.42 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3654, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of Templates: time 0.003247/0.3686, allocations: 1.36 MB / 1.334 GB, free: 10.09 MB / 1.029 GB " [Timeout remaining time 300] 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 -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] "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time [Calling sys.exit(0), Time elapsed: 11.200535125099123]