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.001804/0.001804, allocations: 85.48 kB / 19.44 MB, free: 336 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.002087/0.002087, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.481/3.481, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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 1.723e-06/1.723e-06, allocations: 0 / 0.8775 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.216e-05, allocations: 2.875 kB / 0.8775 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003178/0.00321, allocations: 1.577 MB / 0.879 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.004784, allocations: 0.8008 MB / 0.8798 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.004851, allocations: 5.844 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.004878, allocations: 3.938 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.715e-05/0.004965, allocations: 11.86 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.00542, allocations: 113 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.005562, allocations: 55.73 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.005658, allocations: 13.58 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.005832, allocations: 39.89 kB / 0.88 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.005901, allocations: 11.98 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.005923, allocations: 6.594 kB / 0.88 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.006096, allocations: 67.88 kB / 0.8801 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.006123, allocations: 15.92 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.006151, allocations: 8 kB / 0.8801 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006399, allocations: 127.5 kB / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006402, allocations: 0 / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006403, allocations: 0 / 0.8802 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006408, allocations: 0 / 0.8802 GB, free: 3.695 MB / 0.8386 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.0005911/0.006999, allocations: 409.8 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.007044, allocations: 12.03 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.007498, allocations: 44.78 kB / 0.8807 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.007934, allocations: 140.5 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.007945, allocations: 384 / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.007961, allocations: 4.375 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.008192, allocations: 78.14 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.008201, allocations: 192 / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.008215, allocations: 4.375 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.008226, allocations: 7.922 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.008461, allocations: 59.97 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.009004, allocations: 311.8 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.009277, allocations: 78.97 kB / 0.8813 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.009402, allocations: 43.77 kB / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.009425, allocations: 0 / 0.8814 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.009467, allocations: 45.33 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.009468, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004968/0.009964, allocations: 125.6 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.01001, allocations: 51.41 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.01017, allocations: 192.2 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.01019, allocations: 25.7 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.01028, allocations: 142.9 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.01031, allocations: 11.91 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01037, allocations: 31.36 kB / 0.882 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000326/0.01069, allocations: 0.4923 MB / 0.8825 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.0108, allocations: 23.98 kB / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.01092, allocations: 31.98 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.01113, allocations: 59.66 kB / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.01113, allocations: 0 / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002883/0.01142, allocations: 105.5 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01144, allocations: 8 kB / 0.8827 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01144, allocations: 7.938 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01146, allocations: 0 / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.01158, allocations: 11.98 kB / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01158, allocations: 0 / 0.8827 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.01166, allocations: 11.92 kB / 0.8827 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01167, allocations: 3.938 kB / 0.8827 GB, free: 0.9609 MB / 0.8386 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.0001379/0.01181, allocations: 164.6 kB / 0.8829 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.01184, allocations: 7.938 kB / 0.8829 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.0119, allocations: 15.98 kB / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.0119, allocations: 0 / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.0119, allocations: 0 / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01191, allocations: 0 / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.01212, allocations: 144.6 kB / 0.883 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01212, allocations: 0 / 0.883 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01222, allocations: 11.98 kB / 0.883 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01222, allocations: 4 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.01224, allocations: 11.92 kB / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01224, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01224, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.01263, allocations: 244.2 kB / 0.8833 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.01264, allocations: 4 kB / 0.8833 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.01267, allocations: 15.91 kB / 0.8833 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01278, allocations: 0 / 0.8833 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.01282, allocations: 8 kB / 0.8833 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01283, allocations: 3.984 kB / 0.8833 GB, free: 280 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000101/0.01293, allocations: 143.2 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01293, allocations: 0 / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000264/0.01319, allocations: 27.94 kB / 0.8835 GB, free: 108 kB / 0.8386 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.0002454/0.01344, allocations: 127.1 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.01375, allocations: 75.53 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01375, allocations: 4 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01389, allocations: 47.66 kB / 0.8837 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01414, allocations: 11.98 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01472, allocations: 170 kB / 0.8839 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.0148, allocations: 67.34 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.01488, allocations: 19.97 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.01493, allocations: 16.5 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.01493, allocations: 3.938 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004393/0.01932, allocations: 1.153 MB / 0.8851 GB, free: 14.36 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] 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.533637493965216]