Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001988/0.001988, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002063/0.002063, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.979/2.979, allocations: 359 MB / 0.6048 GB, free: 10.97 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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/3.951e-05, allocations: 6.172 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.003221/0.00326, allocations: 0.809 MB / 0.7872 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.003452, allocations: 44.69 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.003529, allocations: 4.844 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.003581, allocations: 11.86 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.003694, allocations: 7.875 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.195e-05/0.003776, allocations: 20.55 kB / 0.7873 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.003942, allocations: 56.62 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.004134, allocations: 43.83 kB / 0.7874 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.004249, allocations: 36.77 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.004325, allocations: 19.91 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.004355, allocations: 8.656 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.00437, allocations: 4 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.004408, allocations: 23.36 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.004454, allocations: 15.92 kB / 0.7875 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.004642, allocations: 75.69 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.004645, allocations: 0 / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004646, allocations: 0 / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004651, allocations: 0 / 0.7875 GB, free: 11.68 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.000722/0.005373, allocations: 408 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.005417, allocations: 8.031 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.005491, allocations: 20.84 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.005786, allocations: 141.1 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.005807, allocations: 8.969 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.005829, allocations: 4.375 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.006091, allocations: 103.2 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.006103, allocations: 192 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006115, allocations: 384 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.006127, allocations: 4.375 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.006266, allocations: 45.39 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.007178, allocations: 462.4 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.007317, allocations: 66.16 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.007384, allocations: 25.03 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.007404, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.007461, allocations: 37.38 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.007462, allocations: 0.625 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002858/0.007748, allocations: 51.56 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.00785, allocations: 81.11 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.008119, allocations: 200.8 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.008147, allocations: 25.7 kB / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.008314, allocations: 158.7 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.008325, allocations: 4.516 kB / 0.7893 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.008397, allocations: 24.09 kB / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003638/0.008761, allocations: 0.4923 MB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.008798, allocations: 5.219 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.008853, allocations: 27.31 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/0.008934, allocations: 31.98 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008936, allocations: 1.125 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001526/0.009089, allocations: 57.64 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.009108, allocations: 4.812 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.009114, allocations: 0 / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.009131, allocations: 0.6562 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.009218, allocations: 11.98 kB / 0.7899 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.009228, allocations: 5.156 kB / 0.7899 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.009275, allocations: 7.891 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.009287, allocations: 8 kB / 0.79 GB, free: 8.941 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.0001682/0.009455, allocations: 161.3 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.009526, allocations: 5.219 kB / 0.7901 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.009559, allocations: 7.469 kB / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009562, allocations: 96 / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.009573, allocations: 3.984 kB / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.009585, allocations: 13.05 kB / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.01037, allocations: 0.5499 MB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01037, allocations: 4.938 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.0104, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.01041, allocations: 12.77 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.01042, allocations: 3.938 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01042, allocations: 3.938 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01042, allocations: 2.219 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.01058, allocations: 84.14 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.01061, allocations: 11.94 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01064, allocations: 7.938 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.802e-05/0.01067, allocations: 0 / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.01069, allocations: 2.781 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.01069, allocations: 0 / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001529/0.01084, allocations: 147.2 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01084, allocations: 0 / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003511/0.0112, allocations: 11.95 kB / 0.791 GB, free: 7.84 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.0001608/0.01136, allocations: 99.19 kB / 0.7911 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.0115, allocations: 25.14 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.0115, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.01154, allocations: 16.12 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01179, allocations: 8.562 kB / 0.7911 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.01231, allocations: 179.8 kB / 0.7913 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.01242, allocations: 75.86 kB / 0.7913 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.01248, allocations: 5.656 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.01251, allocations: 8.5 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.01252, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.004312/0.01683, allocations: 358.9 kB / 0.7917 GB, free: 7.027 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.19280878896825]