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.001888/0.001888, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002365/0.002365, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001944/0.001944, allocations: 67.89 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3608, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003218/0.364, allocations: 1.545 MB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3654, allocations: 0.781 MB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.3654, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3655, allocations: 7.938 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.3655, allocations: 15.84 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3659, allocations: 87.66 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.366, allocations: 51.8 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3662, allocations: 11.98 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.853e-05/0.3663, allocations: 23.92 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.3664, allocations: 31.78 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3664, allocations: 4 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3665, allocations: 67.95 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.3666, allocations: 11.97 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.3666, allocations: 19.88 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3668, allocations: 95.64 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3668, allocations: 0 / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3668, allocations: 4 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3668, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 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.0005913/0.3674, allocations: 387 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3674, allocations: 8.031 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3678, allocations: 24.91 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.368, allocations: 172.3 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.368, allocations: 4.375 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.368, allocations: 4.312 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3683, allocations: 89.88 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3683, allocations: 3.938 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3683, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3683, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.3686, allocations: 71.94 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.3692, allocations: 312.8 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3695, allocations: 74.47 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3696, allocations: 44.92 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3697, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3697, allocations: 34.56 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3697, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000583/0.3703, allocations: 145.5 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3703, allocations: 51.41 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3705, allocations: 121.8 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3705, allocations: 29.7 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.3705, allocations: 88.08 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3706, allocations: 7.953 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.3706, allocations: 21.7 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3708, allocations: 330.7 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3709, allocations: 23.98 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.371, allocations: 35.97 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3713, allocations: 68.81 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3713, allocations: 0 / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.3716, allocations: 101.6 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3716, allocations: 8 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3716, allocations: 3.984 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3716, allocations: 0 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3718, allocations: 23.97 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3718, allocations: 3.938 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.3719, allocations: 4 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3719, allocations: 11.92 kB / 1.221 GB, free: 10.02 MB / 0.9669 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.0001002/0.372, allocations: 113.8 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.372, allocations: 3.953 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.3721, allocations: 11.91 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3721, allocations: 4 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3721, allocations: 0 / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3721, allocations: 3.984 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.3723, allocations: 193.4 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3723, allocations: 0 / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3724, allocations: 11.98 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3724, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3725, allocations: 7.984 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3725, allocations: 0 / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3725, allocations: 3.938 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.3729, allocations: 215.3 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3729, allocations: 77.11 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3729, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3731, allocations: 7.984 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.3731, allocations: 8 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3731, allocations: 0 / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.3732, allocations: 91.27 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3732, allocations: 4 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000294/0.3735, allocations: 35.86 kB / 1.222 GB, free: 9.137 MB / 0.9669 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.0002573/0.3737, allocations: 119.2 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.3741, allocations: 76.31 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3741, allocations: 0 / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.3743, allocations: 39.91 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3746, allocations: 9.812 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.3751, allocations: 183 kB / 1.222 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3755, allocations: 0.6847 MB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.385e-05/0.3756, allocations: 19.97 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.3757, allocations: 15.42 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3757, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of Templates: time 0.00463/0.3803, allocations: 1.103 MB / 1.224 GB, free: 6.844 MB / 0.9669 GB " [Timeout remaining time 300] 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.275106032378972]