Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.001958/0.001958, 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.002458/0.002458, 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.572/1.572, 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.851/2.851, 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.45e-05, allocations: 5.672 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002436/0.00247, allocations: 0.7944 MB / 0.7872 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001419/0.002612, allocations: 48.98 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.002664, allocations: 0 / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.00271, allocations: 11.86 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.052e-05/0.002801, allocations: 12.53 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.633e-05/0.002857, allocations: 15.98 kB / 0.7873 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002984, allocations: 61.09 kB / 0.7873 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.003143, allocations: 47.83 kB / 0.7874 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003256, allocations: 40.72 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.003305, allocations: 15.92 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.003329, allocations: 8 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.003338, allocations: 4.562 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.003381, allocations: 20.59 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.003422, allocations: 19.94 kB / 0.7875 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.003563, allocations: 72.59 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003566, allocations: 0 / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003566, allocations: 0.6562 kB / 0.7875 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003571, allocations: 4 kB / 0.7875 GB, free: 11.67 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.0004787/0.004049, allocations: 295.6 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.004095, allocations: 12.03 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.004151, allocations: 20.84 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.004387, allocations: 141.6 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.004405, allocations: 7.812 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.004422, allocations: 12.31 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.004603, allocations: 90.3 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004611, allocations: 4.125 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.004622, allocations: 384 / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004628, allocations: 4.375 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.004711, allocations: 39.92 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.005294, allocations: 356.5 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.00537, allocations: 37.94 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.005418, allocations: 19.44 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.005424, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.005462, allocations: 42.48 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005463, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.005651, allocations: 50.88 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.005719, allocations: 77.11 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.005874, allocations: 134.4 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.005894, allocations: 26.42 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.00599, allocations: 111.9 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.006002, allocations: 8.984 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.00604, allocations: 13.72 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.006244, allocations: 318.8 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.006263, allocations: 4.906 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.006298, allocations: 17.72 kB / 0.7893 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.006347, allocations: 31 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006348, allocations: 0 / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.508e-05/0.006443, allocations: 54.25 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.006458, allocations: 4.969 kB / 0.7894 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.006468, allocations: 4 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.006486, allocations: 0.9688 kB / 0.7894 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.006549, allocations: 7.938 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.00656, allocations: 7.922 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.006588, allocations: 9.047 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.006592, allocations: 0 / 0.7894 GB, free: 9.551 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.845e-05/0.00669, allocations: 115.3 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.00673, allocations: 4 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.006749, allocations: 7.469 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.006755, allocations: 8.078 kB / 0.7895 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.00676, allocations: 4.469 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.006766, allocations: 3.938 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.00723, allocations: 419.5 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007231, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.007253, allocations: 4.781 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.007255, allocations: 0 / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.007268, allocations: 8.844 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007269, allocations: 0 / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.007275, allocations: 8.516 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.007376, allocations: 71.31 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.007399, allocations: 7.953 kB / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.007417, allocations: 7.922 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.007443, allocations: 4 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.007456, allocations: 0.8125 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.007461, allocations: 4 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.343e-05/0.007544, allocations: 98.08 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007544, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002098/0.007754, allocations: 17.17 kB / 0.7902 GB, free: 8.711 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.0001142/0.007868, allocations: 91.25 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.007956, allocations: 24.77 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007957, allocations: 2.219 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.007967, allocations: 4 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.008131, allocations: 9.547 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.008487, allocations: 162 kB / 0.7905 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.008571, allocations: 86.38 kB / 0.7905 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.008597, allocations: 0 / 0.7905 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.008628, allocations: 12.5 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.008628, allocations: 0 / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.002728/0.01136, allocations: 353.1 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.021078951074742]