Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001916/0.001916, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002376/0.002376, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.74/2.74, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/2.99e-05, allocations: 4.594 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002306/0.002336, allocations: 0.7987 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.002474, allocations: 40.62 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.002526, allocations: 0.75 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.002571, allocations: 7.875 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002672, allocations: 21.11 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.742e-05/0.002729, allocations: 15.98 kB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.002863, allocations: 63.77 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.003011, allocations: 41.45 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003136, allocations: 43.83 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.003185, allocations: 19.91 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.003208, allocations: 8 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.00322, allocations: 5.219 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.003243, allocations: 11.94 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.003291, allocations: 23.91 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.003418, allocations: 68.39 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.003423, allocations: 3.984 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003424, allocations: 1.406 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003429, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000501/0.00393, allocations: 298 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.003972, allocations: 12.88 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.004039, allocations: 20.84 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.004268, allocations: 130.2 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.004289, allocations: 9.125 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.004305, allocations: 8.375 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.004505, allocations: 102.6 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.004514, allocations: 192 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.00453, allocations: 4.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.004538, allocations: 5.031 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.004629, allocations: 35.92 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.005221, allocations: 362.1 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.005293, allocations: 37.22 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.005336, allocations: 19.12 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.005343, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.005383, allocations: 38.59 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005384, allocations: 1.594 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.005588, allocations: 53.58 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.005655, allocations: 77.11 kB / 0.7887 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.005811, allocations: 134.8 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.005832, allocations: 25.7 kB / 0.7888 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.005936, allocations: 107.9 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.005949, allocations: 15.14 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.005987, allocations: 13.72 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.006165, allocations: 314.8 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.006185, allocations: 7.984 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.006215, allocations: 17.72 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.006266, allocations: 29.66 kB / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006268, allocations: 0.7188 kB / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.249e-05/0.00636, allocations: 54.19 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.006376, allocations: 4 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006381, allocations: 0.5312 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.0064, allocations: 5.156 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.006468, allocations: 7.938 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.006477, allocations: 3.938 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.006509, allocations: 12.39 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.006513, allocations: 0.5312 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001032/0.006617, allocations: 115.2 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.006657, allocations: 7.984 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.006677, allocations: 7.469 kB / 0.7895 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006679, allocations: 0 / 0.7895 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.006683, allocations: 5.156 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.006688, allocations: 7.875 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.007153, allocations: 415.4 kB / 0.7899 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.007157, allocations: 4 kB / 0.7899 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.007178, allocations: 5.656 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007179, allocations: 0 / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.007188, allocations: 3.938 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007189, allocations: 0 / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.00719, allocations: 0 / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.007293, allocations: 81.36 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.007315, allocations: 3.953 kB / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.007337, allocations: 11.94 kB / 0.79 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.007355, allocations: 0 / 0.79 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.007372, allocations: 3.984 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007377, allocations: 4.094 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.007458, allocations: 97.77 kB / 0.7901 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007459, allocations: 0 / 0.7901 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002008/0.007659, allocations: 15.95 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001471/0.007806, allocations: 92.34 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.007908, allocations: 21.06 kB / 0.7903 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007911, allocations: 0 / 0.7903 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.007922, allocations: 5.406 kB / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.008098, allocations: 15.97 kB / 0.7903 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.008486, allocations: 170.5 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.008574, allocations: 78.56 kB / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.008604, allocations: 3.984 kB / 0.7905 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.00864, allocations: 13.41 kB / 0.7905 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.00864, allocations: 0 / 0.7905 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002857/0.0115, allocations: 352.4 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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: 7.681889798026532]