Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001742/0.001742, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.002444/0.002444, allocations: 156.6 kB / 23.01 MB, free: 4.945 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.944/2.944, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 68.17 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00194/1.092, allocations: 0.7971 MB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/1.092, allocations: 45.81 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/1.092, allocations: 1.375 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/1.092, allocations: 9.281 kB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/1.092, allocations: 14.56 kB / 1.187 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.109e-05/1.093, allocations: 19.84 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/1.093, allocations: 63.53 kB / 1.188 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/1.093, allocations: 32.05 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/1.093, allocations: 24.31 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/1.093, allocations: 30.03 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/1.093, allocations: 10.81 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/1.093, allocations: 5.5 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/1.093, allocations: 12.84 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/1.093, allocations: 28.75 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/1.093, allocations: 75.61 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.093, allocations: 0.75 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.794e-06/1.093, allocations: 7.938 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.758e-06/1.093, allocations: 1.375 kB / 1.188 GB, free: 15.52 MB / 1.076 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.0003545/1.093, allocations: 298.7 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/1.094, allocations: 10.23 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/1.094, allocations: 12.97 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/1.094, allocations: 141.9 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.094, allocations: 7.125 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.094, allocations: 6.484 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/1.094, allocations: 101.4 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.094, allocations: 4.188 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.094, allocations: 9.312 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/1.094, allocations: 3.406 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/1.094, allocations: 34.94 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/1.094, allocations: 357.7 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/1.094, allocations: 37.88 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/1.095, allocations: 19.78 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/1.095, allocations: 0.6562 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.095, allocations: 33.31 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.095, allocations: 4 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/1.095, allocations: 54.95 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.095, allocations: 78.94 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/1.095, allocations: 132.6 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/1.095, allocations: 25.7 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/1.095, allocations: 113.3 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/1.095, allocations: 9.578 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/1.095, allocations: 14.86 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/1.095, allocations: 317.7 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/1.095, allocations: 12.8 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/1.095, allocations: 16.5 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/1.095, allocations: 31.98 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.095, allocations: 0 / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.029e-05/1.095, allocations: 52.55 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.095, allocations: 5 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.095, allocations: 4.547 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.095, allocations: 9.031 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/1.095, allocations: 10.58 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.095, allocations: 1.922 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/1.095, allocations: 9.266 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/1.095, allocations: 1.25 kB / 1.19 GB, free: 13.68 MB / 1.076 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 4.879e-05/1.095, allocations: 114.3 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/1.095, allocations: 2.953 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/1.095, allocations: 14.52 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/1.095, allocations: 1.094 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.095, allocations: 1.125 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.095, allocations: 1.844 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.096, allocations: 415.6 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.096, allocations: 5.844 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/1.096, allocations: 3.094 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.096, allocations: 0.7031 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/1.096, allocations: 1.031 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.096, allocations: 1.062 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.096, allocations: 1.734 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/1.096, allocations: 72.64 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/1.096, allocations: 16.41 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.096, allocations: 4.703 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/1.096, allocations: 1.281 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/1.096, allocations: 2.188 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.096, allocations: 2.016 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.096e-05/1.096, allocations: 100.4 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 0 / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001936/1.096, allocations: 15.33 kB / 1.19 GB, free: 12.95 MB / 1.076 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 8.711e-05/1.096, allocations: 93.39 kB / 1.19 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.772e-05/1.096, allocations: 23.44 kB / 1.19 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.096, allocations: 5 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/1.096, allocations: 4.672 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/1.097, allocations: 10.03 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/1.097, allocations: 154 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/1.097, allocations: 84.05 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.902e-05/1.097, allocations: 8.078 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/1.097, allocations: 15 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.097, allocations: 1.062 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.003515/1.1, allocations: 327.8 kB / 1.191 GB, free: 12.51 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.400378253078088]