Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001131/0.001131, allocations: 72.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.001355/0.001355, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.9025/0.9025, allocations: 177.2 MB / 203.5 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.252e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002459/0.002492, allocations: 1.553 MB / 0.9837 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003546, allocations: 0.7712 MB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.003621, allocations: 11.94 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.003656, allocations: 3.938 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.00373, allocations: 19.78 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.00413, allocations: 95.64 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004257, allocations: 59.67 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004379, allocations: 19.97 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.004542, allocations: 39.91 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.004603, allocations: 15.98 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.00462, allocations: 4 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.004743, allocations: 67.88 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.004761, allocations: 15.91 kB / 0.9848 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.004786, allocations: 11.94 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004983, allocations: 119.7 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004986, allocations: 0 / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.004988, allocations: 0 / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.004993, allocations: 0 / 0.9849 GB, free: 15.21 MB / 0.948 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.0004348/0.005428, allocations: 313.9 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.005475, allocations: 8.031 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.005776, allocations: 44.83 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.005973, allocations: 144.2 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005984, allocations: 384 / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.005996, allocations: 4.375 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.006179, allocations: 86.19 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006187, allocations: 192 / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.006199, allocations: 384 / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.006204, allocations: 3.938 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.006348, allocations: 63.95 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.006713, allocations: 268.3 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.006871, allocations: 70.53 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.006944, allocations: 40.92 kB / 0.986 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.006964, allocations: 0 / 0.986 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.006987, allocations: 34.5 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006988, allocations: 0 / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003274/0.007315, allocations: 137.5 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.007347, allocations: 55.41 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.007425, allocations: 125.8 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.007437, allocations: 25.7 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.007475, allocations: 92.09 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.007494, allocations: 11.94 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.007527, allocations: 25.7 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.007604, allocations: 314.8 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.00768, allocations: 27.97 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.007747, allocations: 35.97 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.007878, allocations: 69.09 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00788, allocations: 0 / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000172/0.008052, allocations: 117.4 kB / 0.987 GB, free: 12.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008065, allocations: 8 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.00807, allocations: 0 / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.008085, allocations: 3.984 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.008168, allocations: 15.98 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.008172, allocations: 0 / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.00821, allocations: 15.92 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.008219, allocations: 0 / 0.987 GB, free: 12.93 MB / 0.948 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 6.581e-05/0.008285, allocations: 113.8 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.008301, allocations: 7.891 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.008343, allocations: 11.98 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008345, allocations: 0 / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.008353, allocations: 4 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008357, allocations: 4 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.008475, allocations: 133 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008476, allocations: 0 / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.008526, allocations: 15.98 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.008528, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.008538, allocations: 7.922 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.008539, allocations: 0 / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008541, allocations: 3.938 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.008759, allocations: 203.4 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.008767, allocations: 4 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.00878, allocations: 3.938 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.146e-05/0.008832, allocations: 11.92 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.008863, allocations: 0 / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.008873, allocations: 11.98 kB / 0.9875 GB, free: 12.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.008913, allocations: 95.27 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008913, allocations: 4 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001901/0.009104, allocations: 27.89 kB / 0.9877 GB, free: 12.22 MB / 0.948 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.0001631/0.009267, allocations: 127.6 kB / 0.9878 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.009466, allocations: 71.88 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009468, allocations: 3.938 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.009542, allocations: 47.95 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.009731, allocations: 6.812 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.01006, allocations: 193.4 kB / 0.9881 GB, free: 11.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.01011, allocations: 71.33 kB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.01015, allocations: 16.48 kB / 0.9882 GB, free: 11.63 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01015, allocations: 0 / 0.9882 GB, free: 11.63 MB / 0.948 GB Notification: Performance of Templates: time 0.002227/0.01238, allocations: 1.385 MB / 0.9895 GB, free: 10.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.766445042565465]