Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001514/0.001514, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001787/0.001787, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.293/3.293, allocations: 429.6 MB / 0.673 GB, free: 3.848 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8776 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.715e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003256/0.003293, allocations: 1.545 MB / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004886, allocations: 0.784 MB / 0.8799 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.004942, allocations: 0 / 0.8799 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.004975, allocations: 3.938 kB / 0.8799 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.005061, allocations: 20.77 kB / 0.8799 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.005492, allocations: 100.9 kB / 0.88 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.005639, allocations: 60.81 kB / 0.8801 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.00575, allocations: 15.98 kB / 0.8801 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.005914, allocations: 35.91 kB / 0.8801 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.005989, allocations: 28.56 kB / 0.8801 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.006005, allocations: 1.312 kB / 0.8801 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.006167, allocations: 71.88 kB / 0.8802 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.006186, allocations: 11.92 kB / 0.8802 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.006224, allocations: 15.94 kB / 0.8802 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.006453, allocations: 112.7 kB / 0.8803 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006457, allocations: 0 / 0.8803 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006458, allocations: 0 / 0.8803 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.006462, allocations: 3.406 kB / 0.8803 GB, free: 2.535 MB / 0.7917 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.0005724/0.007035, allocations: 313.9 kB / 0.8806 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.00708, allocations: 12.03 kB / 0.8807 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.007643, allocations: 44.83 kB / 0.8807 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.007915, allocations: 134.2 kB / 0.8808 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.007929, allocations: 5.75 kB / 0.8808 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.007942, allocations: 4.312 kB / 0.8808 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.008233, allocations: 79.73 kB / 0.8809 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008242, allocations: 192 / 0.8809 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008259, allocations: 4.359 kB / 0.8809 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.008266, allocations: 3.938 kB / 0.8809 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.008585, allocations: 71.94 kB / 0.881 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.009415, allocations: 256.5 kB / 0.8812 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.009732, allocations: 74.47 kB / 0.8813 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.009885, allocations: 40.94 kB / 0.8813 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.00991, allocations: 3.984 kB / 0.8813 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.009951, allocations: 38.5 kB / 0.8814 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.009952, allocations: 0 / 0.8814 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0006228/0.01057, allocations: 137.6 kB / 0.8815 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.01062, allocations: 55.34 kB / 0.8816 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01076, allocations: 128.5 kB / 0.8817 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.01078, allocations: 29.64 kB / 0.8817 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.01084, allocations: 88.14 kB / 0.8818 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.01087, allocations: 11.91 kB / 0.8818 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.01092, allocations: 17.7 kB / 0.8818 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.01111, allocations: 322.8 kB / 0.8821 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.01127, allocations: 31.97 kB / 0.8822 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01141, allocations: 35.97 kB / 0.8822 GB, free: 484 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.01169, allocations: 60.81 kB / 0.8823 GB, free: 420 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0117, allocations: 0 / 0.8823 GB, free: 420 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003688/0.01206, allocations: 113.5 kB / 0.8824 GB, free: 300 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01208, allocations: 4 kB / 0.8824 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.01208, allocations: 0 / 0.8824 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.0121, allocations: 0 / 0.8824 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.01225, allocations: 19.97 kB / 0.8824 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01226, allocations: 0 / 0.8824 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.01235, allocations: 11.94 kB / 0.8824 GB, free: 264 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01237, allocations: 4 kB / 0.8824 GB, free: 260 kB / 0.7917 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.0001162/0.01249, allocations: 113.8 kB / 0.8825 GB, free: 136 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.01253, allocations: 7.938 kB / 0.8825 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.01258, allocations: 19.97 kB / 0.8825 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01259, allocations: 0 / 0.8825 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01259, allocations: 0 / 0.8825 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01259, allocations: 0 / 0.8825 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.01281, allocations: 125.5 kB / 0.8827 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01281, allocations: 0 / 0.8827 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.01294, allocations: 11.98 kB / 0.8827 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01294, allocations: 8 kB / 0.8827 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.01295, allocations: 11.73 kB / 0.8827 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01296, allocations: 0 / 0.8827 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01296, allocations: 0 / 0.8827 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.01341, allocations: 203.7 kB / 0.8829 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.01343, allocations: 11.89 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01345, allocations: 3.984 kB / 0.8829 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01358, allocations: 11.98 kB / 0.8829 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.01363, allocations: 3.984 kB / 0.8829 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01364, allocations: 7.938 kB / 0.8829 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.362e-05/0.01372, allocations: 99.27 kB / 0.883 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01372, allocations: 0 / 0.883 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002849/0.01401, allocations: 27.92 kB / 0.883 GB, free: 15.54 MB / 0.8073 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.0002325/0.01424, allocations: 123.1 kB / 0.8832 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.01461, allocations: 79.88 kB / 0.8832 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01461, allocations: 0 / 0.8832 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.01477, allocations: 35.97 kB / 0.8833 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01504, allocations: 19.98 kB / 0.8833 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.01552, allocations: 164.5 kB / 0.8834 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.043e-05/0.01562, allocations: 75.45 kB / 0.8835 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.0157, allocations: 15.98 kB / 0.8835 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.01576, allocations: 16.48 kB / 0.8836 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of SimCode: time 4.21e-07/0.01576, allocations: 0 / 0.8836 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.004198/0.01995, allocations: 1.144 MB / 0.8847 GB, free: 13.84 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.118563262047246]