Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001525/0.001525, allocations: 84.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001592/0.001592, allocations: 165.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.649/1.649, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.935/2.935, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.195e-05, allocations: 5.516 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001891/0.001923, allocations: 0.7986 MB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.002048, allocations: 47.72 kB / 0.9823 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.0021, allocations: 4 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.002142, allocations: 11.86 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.002228, allocations: 7.875 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.491e-05/0.002272, allocations: 15.98 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.002398, allocations: 75.77 kB / 0.9824 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.002529, allocations: 27.91 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.002626, allocations: 39.91 kB / 0.9824 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.00267, allocations: 19.86 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.002694, allocations: 4 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.002708, allocations: 8 kB / 0.9825 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.002733, allocations: 19.91 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.002764, allocations: 15.94 kB / 0.9825 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.002889, allocations: 75.69 kB / 0.9826 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002891, allocations: 0 / 0.9826 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002892, allocations: 4 kB / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.002898, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 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.0004283/0.003327, allocations: 310 kB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.003366, allocations: 8.031 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.003403, allocations: 20.78 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.003601, allocations: 133.6 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003613, allocations: 4.375 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.003632, allocations: 8.375 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.003804, allocations: 95.89 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.003812, allocations: 192 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.003823, allocations: 4.375 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.00383, allocations: 4.375 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.003911, allocations: 35.92 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.004418, allocations: 356.4 kB / 0.9835 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.004485, allocations: 37.22 kB / 0.9835 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.004522, allocations: 17.77 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.004532, allocations: 0 / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.004563, allocations: 42.59 kB / 0.9836 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.004565, allocations: 0 / 0.9836 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.004734, allocations: 53.59 kB / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.004794, allocations: 77.11 kB / 0.9837 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.004934, allocations: 136.3 kB / 0.9839 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.004953, allocations: 29.7 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.005039, allocations: 107.9 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/0.005045, allocations: 4 kB / 0.984 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.005084, allocations: 25.66 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.005232, allocations: 310.8 kB / 0.9843 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.00525, allocations: 8 kB / 0.9843 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.00529, allocations: 33.94 kB / 0.9843 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.005338, allocations: 29.66 kB / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005339, allocations: 0 / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.357e-05/0.005423, allocations: 53.64 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.005436, allocations: 4 kB / 0.9844 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00544, allocations: 3.938 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.005455, allocations: 3.984 kB / 0.9844 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.005518, allocations: 11.94 kB / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.005525, allocations: 8 kB / 0.9845 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.005553, allocations: 7.891 kB / 0.9845 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.005559, allocations: 4 kB / 0.9845 GB, free: 8.664 MB / 0.9356 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.531e-05/0.005654, allocations: 113.8 kB / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.005692, allocations: 0 / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.005713, allocations: 7.469 kB / 0.9846 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.005717, allocations: 3.984 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.005721, allocations: 0 / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.005727, allocations: 7.938 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.006126, allocations: 406.5 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.00613, allocations: 8.062 kB / 0.985 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.006151, allocations: 3.984 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.006155, allocations: 4 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.006165, allocations: 3.938 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006166, allocations: 0 / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006167, allocations: 0 / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.006258, allocations: 73.94 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.006281, allocations: 11.94 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006294, allocations: 3.938 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.006312, allocations: 0 / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.00633, allocations: 8.031 kB / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.006331, allocations: 0 / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.506e-05/0.006416, allocations: 99.27 kB / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.006416, allocations: 0 / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000196/0.006612, allocations: 11.95 kB / 0.9852 GB, free: 7.84 MB / 0.9356 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.0001227/0.006735, allocations: 99.77 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.006833, allocations: 15.94 kB / 0.9853 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.006838, allocations: 4 kB / 0.9853 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.006847, allocations: 4.125 kB / 0.9853 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.007003, allocations: 10.19 kB / 0.9853 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.007372, allocations: 166.6 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.00745, allocations: 79.27 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.00749, allocations: 7.938 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.007517, allocations: 12.62 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.007518, allocations: 0 / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.00293/0.01045, allocations: 348.2 kB / 0.9859 GB, free: 7.043 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.410747941583395]