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.00166/0.00166, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001699/0.001699, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.711/2.711, allocations: 443.5 MB / 0.7293 GB, free: 14.49 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.002099/0.002099, allocations: 67.89 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003295/0.3166, allocations: 1.541 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.318, allocations: 0.7845 MB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.3181, allocations: 0 / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3181, allocations: 3.938 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.749e-05/0.3182, allocations: 7.875 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3186, allocations: 90.91 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3187, allocations: 55.83 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.3188, allocations: 11.94 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3189, allocations: 23.92 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.319, allocations: 27.84 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.319, allocations: 4 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3192, allocations: 67.94 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.3192, allocations: 4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.3192, allocations: 27.86 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3195, allocations: 99.62 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3195, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3195, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3195, allocations: 8 kB / 1.217 GB, free: 14.14 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.0005733/0.3201, allocations: 375 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3201, allocations: 12.03 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.3204, allocations: 24.89 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3206, allocations: 176.3 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3206, allocations: 4.312 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3206, allocations: 8.375 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3209, allocations: 81.94 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3209, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3209, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3209, allocations: 4 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.3212, allocations: 63.95 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3217, allocations: 320.7 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.322, allocations: 70.53 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3222, allocations: 36.94 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.3222, allocations: 7.984 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3222, allocations: 42.55 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 3.126e-06/0.3222, allocations: 3.984 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.3228, allocations: 141.4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3229, allocations: 51.41 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.323, allocations: 117.8 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.323, allocations: 25.7 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.323, allocations: 96.06 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.3231, allocations: 7.953 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.3231, allocations: 17.7 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3233, allocations: 322.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3234, allocations: 35.97 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3236, allocations: 31.97 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3238, allocations: 64.81 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3238, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003399/0.3242, allocations: 113.5 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3242, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3242, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3242, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3243, allocations: 19.98 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3243, allocations: 3.984 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.3244, allocations: 7.938 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3244, allocations: 3.984 kB / 1.219 GB, free: 11.66 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 9.563e-05/0.3245, allocations: 117.8 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3246, allocations: 7.953 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.3246, allocations: 7.906 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3246, allocations: 4 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3246, allocations: 0 / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3246, allocations: 4 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3248, allocations: 189.4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3248, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.325, allocations: 19.97 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.325, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.325, allocations: 3.984 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.325, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.325, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3254, allocations: 207.3 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.3255, allocations: 81.09 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3255, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3256, allocations: 8 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3256, allocations: 7.984 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3256, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.3257, allocations: 95.27 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3257, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002813/0.326, allocations: 27.88 kB / 1.22 GB, free: 10.79 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.0002316/0.3262, allocations: 127.1 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.3266, allocations: 76.23 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3266, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3267, allocations: 39.97 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.327, allocations: 9.812 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.3276, allocations: 208.7 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3279, allocations: 0.6846 MB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.328, allocations: 15.42 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.328, allocations: 0 / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.00329/0.3312, allocations: 1.307 MB / 1.222 GB, free: 8.277 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" 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: 10.582151593174785]