Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001516/0.001516, 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.00208/0.00208, allocations: 161.7 kB / 23.54 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.805/2.805, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.584e-05, allocations: 4.078 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002037/0.002073, allocations: 0.8004 MB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.002216, allocations: 40.34 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.002268, allocations: 4.781 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.002311, allocations: 11.86 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.002396, allocations: 13.22 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.419e-05/0.002451, allocations: 15.98 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.002575, allocations: 59.84 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.002709, allocations: 45.33 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.002813, allocations: 35.91 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.002861, allocations: 19.91 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.002882, allocations: 8 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.002895, allocations: 12.78 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.002917, allocations: 11.92 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.003049, allocations: 24.92 kB / 0.7875 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003187, allocations: 71.69 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00319, allocations: 4 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.22e-07/0.00319, allocations: 0.8438 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.003194, allocations: 0 / 0.7875 GB, free: 11.66 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.000462/0.003656, allocations: 299.5 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.00369, allocations: 8.031 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.003748, allocations: 24.83 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.003955, allocations: 136.7 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.00397, allocations: 4.375 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.003984, allocations: 8.375 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.004171, allocations: 89.67 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.00418, allocations: 192 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004193, allocations: 4.375 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004198, allocations: 384 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.004286, allocations: 43.86 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.004822, allocations: 353.5 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.004892, allocations: 41.34 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.004931, allocations: 15.53 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.00494, allocations: 3.984 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.004977, allocations: 38.56 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004978, allocations: 0.5 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001868/0.005165, allocations: 51.31 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.005226, allocations: 81.05 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.005367, allocations: 134.9 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.005384, allocations: 25.7 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.00547, allocations: 117.4 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.517e-06/0.005479, allocations: 3.953 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.005517, allocations: 21.66 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.005684, allocations: 318.8 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.005701, allocations: 6.25 kB / 0.7893 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.005737, allocations: 21.72 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.005785, allocations: 25.7 kB / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005786, allocations: 0 / 0.7893 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.186e-05/0.005878, allocations: 54.89 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.005893, allocations: 8 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005897, allocations: 0.5 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.005914, allocations: 0 / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.005987, allocations: 9.578 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.005997, allocations: 7.938 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.006025, allocations: 7.891 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.006029, allocations: 0 / 0.7894 GB, free: 9.539 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 9.474e-05/0.006124, allocations: 118.4 kB / 0.7895 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.006162, allocations: 4.781 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.006183, allocations: 11.47 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.006185, allocations: 0.5938 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006188, allocations: 0 / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006192, allocations: 4.531 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.006617, allocations: 419.1 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006618, allocations: 1.375 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.006638, allocations: 4 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00664, allocations: 0 / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.006652, allocations: 7.922 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006653, allocations: 1.125 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006653, allocations: 4 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/0.006749, allocations: 70.66 kB / 0.79 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.006774, allocations: 11.94 kB / 0.79 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.006789, allocations: 4.656 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.006807, allocations: 0 / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.006826, allocations: 8.828 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.006828, allocations: 0 / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.007e-05/0.006918, allocations: 103.3 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006918, allocations: 0 / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001956/0.007113, allocations: 11.95 kB / 0.7902 GB, free: 8.707 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.0001161/0.007229, allocations: 99.19 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.007312, allocations: 20.61 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007313, allocations: 2.406 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.007326, allocations: 8 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.007477, allocations: 4 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.007832, allocations: 170 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.007914, allocations: 81.19 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.007939, allocations: 0 / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.007981, allocations: 13 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.007982, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.002777/0.01076, allocations: 350.1 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.8390969190513715]