Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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: 87.69 kB / 20.24 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.00196/0.00196, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.91 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.058e-05, allocations: 6.438 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002315/0.002346, allocations: 0.8095 MB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.00251, allocations: 45 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.002576, allocations: 4 kB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.002614, allocations: 8.781 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.00271, allocations: 11.86 kB / 0.7872 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.375e-05/0.002774, allocations: 16.55 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.002911, allocations: 63.84 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.003052, allocations: 36.53 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003177, allocations: 40.75 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.003232, allocations: 23.91 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.003254, allocations: 4.656 kB / 0.7874 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003266, allocations: 8 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.003292, allocations: 17.52 kB / 0.7874 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.003329, allocations: 19.92 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003474, allocations: 75.69 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003476, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003477, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.003483, allocations: 3.438 kB / 0.7875 GB, free: 11.61 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.0005718/0.004054, allocations: 404 kB / 0.7879 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.004115, allocations: 12.03 kB / 0.7879 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.004179, allocations: 20.84 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.004412, allocations: 136.4 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.004433, allocations: 4.375 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.004451, allocations: 12.38 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.004635, allocations: 97.59 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.004644, allocations: 0.9062 kB / 0.7882 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.004657, allocations: 4.375 kB / 0.7882 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004662, allocations: 2.031 kB / 0.7882 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.004753, allocations: 39.86 kB / 0.7882 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.005436, allocations: 466.4 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.005543, allocations: 63.44 kB / 0.7887 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.005599, allocations: 31.44 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.005613, allocations: 0.625 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.005652, allocations: 37.39 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.005653, allocations: 0.75 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.00588, allocations: 54.58 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.005946, allocations: 77.11 kB / 0.7889 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.006152, allocations: 201.4 kB / 0.7891 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.006177, allocations: 29.7 kB / 0.7892 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.006299, allocations: 156 kB / 0.7893 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.006307, allocations: 3.953 kB / 0.7893 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.006352, allocations: 23.38 kB / 0.7893 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.006615, allocations: 0.4923 MB / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.006637, allocations: 8.5 kB / 0.7898 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.006672, allocations: 24.31 kB / 0.7898 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.006725, allocations: 32.38 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006726, allocations: 0 / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.006836, allocations: 58.69 kB / 0.7899 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.006853, allocations: 6.344 kB / 0.7899 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006859, allocations: 4 kB / 0.7899 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006874, allocations: 1.531 kB / 0.7899 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.006943, allocations: 4 kB / 0.7899 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.006951, allocations: 3.938 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.006986, allocations: 15.88 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.00699, allocations: 0.5312 kB / 0.79 GB, free: 8.879 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.0001235/0.007114, allocations: 161.2 kB / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.007156, allocations: 8.562 kB / 0.7901 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.007186, allocations: 11.45 kB / 0.7901 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.00719, allocations: 4.781 kB / 0.7901 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007194, allocations: 0 / 0.7901 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.007199, allocations: 4.844 kB / 0.7901 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.00773, allocations: 0.5622 MB / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.007732, allocations: 0 / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.007755, allocations: 5.375 kB / 0.7907 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.007757, allocations: 0 / 0.7907 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.007766, allocations: 3.938 kB / 0.7907 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007768, allocations: 0.8125 kB / 0.7907 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007769, allocations: 7.938 kB / 0.7907 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.007904, allocations: 85.06 kB / 0.7908 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.00793, allocations: 11.95 kB / 0.7908 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.007947, allocations: 9.141 kB / 0.7908 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.007965, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.007985, allocations: 3.938 kB / 0.7908 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.007987, allocations: 4.844 kB / 0.7908 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001076/0.008095, allocations: 143.2 kB / 0.791 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008095, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001902/0.008285, allocations: 14.17 kB / 0.791 GB, free: 7.77 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.000145/0.00843, allocations: 95.25 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.008544, allocations: 27.67 kB / 0.7911 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.008546, allocations: 3.094 kB / 0.7911 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.008571, allocations: 15.62 kB / 0.7911 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.008724, allocations: 4 kB / 0.7911 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.009167, allocations: 174.5 kB / 0.7913 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.009264, allocations: 80.59 kB / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.0093, allocations: 4 kB / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.009332, allocations: 12.5 kB / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.009333, allocations: 0.625 kB / 0.7914 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.003186/0.01252, allocations: 354.4 kB / 0.7917 GB, free: 6.961 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.024172443081625]