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.0008707/0.0008707, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008372/0.0008372, allocations: 174.3 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8841/0.8841, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664/1.664, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.407e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001827/0.001851, allocations: 1.546 MB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.002722, allocations: 0.7794 MB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.002773, allocations: 0 / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.002802, allocations: 11.92 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.002862, allocations: 11.88 kB / 0.954 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.003175, allocations: 103.6 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003281, allocations: 63.66 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.003372, allocations: 8 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.00349, allocations: 39.89 kB / 0.9542 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.003542, allocations: 23.92 kB / 0.9543 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003558, allocations: 4 kB / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.003668, allocations: 75.86 kB / 0.9543 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.003679, allocations: 7.938 kB / 0.9543 GB, free: 276 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.003702, allocations: 19.97 kB / 0.9544 GB, free: 256 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.003911, allocations: 111.7 kB / 0.9545 GB, free: 144 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003913, allocations: 4 kB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003914, allocations: 0 / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003918, allocations: 0 / 0.9545 GB, free: 140 kB / 0.9011 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.0003547/0.004273, allocations: 309.8 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.004306, allocations: 12.03 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.004573, allocations: 44.84 kB / 0.9548 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.004726, allocations: 133.7 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.004735, allocations: 384 / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004746, allocations: 4.375 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.00491, allocations: 86.12 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004917, allocations: 192 / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004928, allocations: 384 / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004934, allocations: 3.938 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.005074, allocations: 67.94 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.005425, allocations: 264.2 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.005572, allocations: 74.48 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.005642, allocations: 36.92 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.00566, allocations: 0 / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.005679, allocations: 38.5 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.00568, allocations: 0 / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003071/0.005987, allocations: 141.6 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.006016, allocations: 51.41 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.006087, allocations: 123.7 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006098, allocations: 25.7 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.006138, allocations: 100 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.006156, allocations: 7.953 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.006189, allocations: 21.7 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.006261, allocations: 318.8 kB / 0.9563 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.006329, allocations: 31.98 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.006391, allocations: 31.97 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.006521, allocations: 60.81 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006524, allocations: 4 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001658/0.006689, allocations: 113.5 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.0067, allocations: 4 kB / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006704, allocations: 0 / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006716, allocations: 0 / 0.9565 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.006791, allocations: 23.91 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.006795, allocations: 4 kB / 0.9565 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.414e-05/0.006829, allocations: 4 kB / 0.9565 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.006837, allocations: 3.984 kB / 0.9565 GB, free: 13.86 MB / 0.9167 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 5.431e-05/0.006892, allocations: 115.8 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.006908, allocations: 11.89 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.006948, allocations: 12 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.00695, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006953, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006955, allocations: 7.938 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.007056, allocations: 129.1 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.007057, allocations: 4 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.007102, allocations: 19.97 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.007103, allocations: 3.938 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.007112, allocations: 7.938 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.007113, allocations: 0 / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007113, allocations: 0 / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.007378, allocations: 211.4 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.007385, allocations: 3.938 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007399, allocations: 7.922 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.007453, allocations: 4 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.007487, allocations: 7.984 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.007491, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.007528, allocations: 103.3 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007528, allocations: 0 / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001748/0.007702, allocations: 27.94 kB / 0.9572 GB, free: 13.14 MB / 0.9167 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.0001314/0.007834, allocations: 127.1 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.008018, allocations: 72.31 kB / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008019, allocations: 0 / 0.9574 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.00809, allocations: 39.91 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.008263, allocations: 8 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.008553, allocations: 186.5 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.008596, allocations: 67.78 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.008637, allocations: 24.47 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.008637, allocations: 4 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of Templates: time 0.002272/0.01091, allocations: 1.384 MB / 0.959 GB, free: 11.18 MB / 0.9167 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] "" 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: 6.558538035489619]