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.001936/0.001936, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002043/0.002043, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.818/2.818, allocations: 359 MB / 0.6048 GB, free: 10.95 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.423e-06/1.423e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.114e-05, allocations: 5.406 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002311/0.002342, allocations: 0.7988 MB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.002499, allocations: 43.78 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.002555, allocations: 6.062 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.002592, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.002695, allocations: 11.86 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.684e-05/0.002752, allocations: 15.98 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.002887, allocations: 63.84 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.00303, allocations: 36.38 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003147, allocations: 44.75 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.0032, allocations: 27.89 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.003224, allocations: 5.062 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.003239, allocations: 8 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.003264, allocations: 11.94 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.003315, allocations: 25.31 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003454, allocations: 71.75 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003456, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003457, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003461, allocations: 1.062 kB / 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.0005629/0.004024, allocations: 404 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.004073, allocations: 13.59 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.004127, allocations: 16.84 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.004376, allocations: 140.4 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.004394, allocations: 8.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.004414, allocations: 10.03 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.00461, allocations: 97.59 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00462, allocations: 192 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.004637, allocations: 12.31 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004643, allocations: 384 / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.196e-05/0.004735, allocations: 37.39 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.00539, allocations: 478.2 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.00549, allocations: 62.25 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.005543, allocations: 29.38 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.005555, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.005594, allocations: 41.33 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.005595, allocations: 2.344 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.005786, allocations: 49.64 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/0.005864, allocations: 81.05 kB / 0.7889 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.006057, allocations: 200.5 kB / 0.7891 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.006075, allocations: 25.7 kB / 0.7892 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.006201, allocations: 159.3 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.00621, allocations: 3.953 kB / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.006253, allocations: 24 kB / 0.7893 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002709/0.006524, allocations: 0.4936 MB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.006543, allocations: 4 kB / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.006574, allocations: 23.38 kB / 0.7898 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.00663, allocations: 36.52 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006632, allocations: 0 / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.772e-05/0.006719, allocations: 55.02 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.006733, allocations: 6.031 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.00674, allocations: 4 kB / 0.7899 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.006757, allocations: 1.75 kB / 0.7899 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.006817, allocations: 4 kB / 0.7899 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.006838, allocations: 11.86 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.006869, allocations: 11.89 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.006873, allocations: 0.7812 kB / 0.79 GB, free: 8.898 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.0001275/0.007001, allocations: 160.6 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.007037, allocations: 4.75 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.007063, allocations: 7.469 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007067, allocations: 4.5 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007072, allocations: 1.938 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.007077, allocations: 3.938 kB / 0.7901 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.007626, allocations: 0.5577 MB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007627, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.007647, allocations: 6.312 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.007648, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.007659, allocations: 7.875 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.007663, allocations: 3.984 kB / 0.7907 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.007667, allocations: 4 kB / 0.7907 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.007783, allocations: 84.08 kB / 0.7908 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.007809, allocations: 12.66 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.007831, allocations: 11.94 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.007848, allocations: 0.5312 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.007865, allocations: 1.656 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.007866, allocations: 4 kB / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001006/0.007967, allocations: 139.2 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007967, allocations: 0 / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001918/0.008159, allocations: 15.95 kB / 0.791 GB, free: 7.797 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.0001216/0.008281, allocations: 97 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.008385, allocations: 31.61 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008387, allocations: 1.281 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.008405, allocations: 11.69 kB / 0.7911 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.008544, allocations: 4.688 kB / 0.7911 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.008908, allocations: 179.3 kB / 0.7913 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.009004, allocations: 78.61 kB / 0.7914 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.009043, allocations: 4 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.009074, allocations: 17.44 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.009074, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.003125/0.0122, allocations: 355.3 kB / 0.7917 GB, free: 6.984 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] 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.9343993520597]