Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001437/0.001437, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001682/0.001682, allocations: 160.1 kB / 22.46 MB, free: 5.375 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.789/2.789, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.796e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003761/0.003799, allocations: 1.552 MB / 0.9525 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005558, allocations: 0.7835 MB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/0.005654, allocations: 3.938 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.35e-05/0.005707, allocations: 7.922 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.005846, allocations: 7.922 kB / 0.9533 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.0064, allocations: 110.5 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.00657, allocations: 67.64 kB / 0.9535 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006698, allocations: 4 kB / 0.9535 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.006892, allocations: 35.91 kB / 0.9535 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.006996, allocations: 23.91 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.007019, allocations: 4 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.007229, allocations: 75.86 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.00725, allocations: 4 kB / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.007294, allocations: 19.92 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.007609, allocations: 115.7 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.007613, allocations: 7.938 kB / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007614, allocations: 0 / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.007625, allocations: 0 / 0.9537 GB, free: 8.719 MB / 0.8575 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.0006287/0.008254, allocations: 305.9 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.008302, allocations: 8.031 kB / 0.954 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.008862, allocations: 48.84 kB / 0.9541 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.009202, allocations: 141.6 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.00921, allocations: 384 / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.009232, allocations: 384 / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.009554, allocations: 82.19 kB / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.009566, allocations: 192 / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.009583, allocations: 384 / 0.9543 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.009592, allocations: 3.938 kB / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.00989, allocations: 71.94 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.01045, allocations: 252.4 kB / 0.9546 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.01074, allocations: 74.47 kB / 0.9547 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.01089, allocations: 44.91 kB / 0.9547 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.01092, allocations: 3.938 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.01096, allocations: 38.5 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.01096, allocations: 0 / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006016/0.01157, allocations: 141.5 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.01161, allocations: 55.41 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01175, allocations: 121.8 kB / 0.9551 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01177, allocations: 25.7 kB / 0.9551 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.01184, allocations: 92.12 kB / 0.9552 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.01187, allocations: 11.91 kB / 0.9552 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.01193, allocations: 17.7 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.0121, allocations: 314.8 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01225, allocations: 35.97 kB / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.01239, allocations: 35.97 kB / 0.9556 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.01268, allocations: 60.81 kB / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01268, allocations: 0 / 0.9556 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003669/0.01305, allocations: 121.5 kB / 0.9557 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01307, allocations: 4 kB / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01307, allocations: 0 / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01309, allocations: 0 / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01324, allocations: 15.98 kB / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01325, allocations: 0 / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.01334, allocations: 11.98 kB / 0.9558 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01336, allocations: 3.984 kB / 0.9558 GB, free: 6.445 MB / 0.8575 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.0001084/0.01346, allocations: 113.8 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.01351, allocations: 15.89 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.01357, allocations: 15.94 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01357, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01358, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01358, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01378, allocations: 121.3 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01379, allocations: 4 kB / 0.956 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.0139, allocations: 15.97 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01391, allocations: 4 kB / 0.9561 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.01392, allocations: 7.938 kB / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01392, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01393, allocations: 3.938 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.01436, allocations: 203.4 kB / 0.9563 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01437, allocations: 7.891 kB / 0.9563 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.0144, allocations: 3.938 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.01452, allocations: 11.98 kB / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.01456, allocations: 4.375 kB / 0.9563 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.01458, allocations: 3.984 kB / 0.9563 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.275e-05/0.01465, allocations: 98.77 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01465, allocations: 0 / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000295/0.01494, allocations: 27.94 kB / 0.9564 GB, free: 5.738 MB / 0.8575 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.0002937/0.01524, allocations: 127.1 kB / 0.9565 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.01562, allocations: 87.84 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01562, allocations: 0 / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.01578, allocations: 35.97 kB / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01606, allocations: 0 / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.01661, allocations: 164.7 kB / 0.9568 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.01669, allocations: 71.34 kB / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.01677, allocations: 15.98 kB / 0.9569 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.01683, allocations: 20.48 kB / 0.9569 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.01683, allocations: 0 / 0.9569 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of Templates: time 0.004857/0.02169, allocations: 1.124 MB / 0.958 GB, free: 4.059 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.339334823191166]