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.001377/0.001377, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001513/0.001513, allocations: 220.5 kB / 22.99 MB, free: 4.914 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.271/3.271, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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.002122/0.002122, allocations: 65.09 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002106/0.3601, allocations: 0.7974 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001278/0.3602, allocations: 47.78 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3603, allocations: 0 / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.3603, allocations: 11.86 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.3604, allocations: 11.86 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.914e-05/0.3605, allocations: 19.98 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3606, allocations: 59.84 kB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3607, allocations: 31.97 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.3608, allocations: 23.88 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.3609, allocations: 35.72 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3609, allocations: 8 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.3609, allocations: 4 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.3609, allocations: 12 kB / 1.366 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.3609, allocations: 27.8 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3611, allocations: 75.58 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3611, allocations: 4 kB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3611, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3611, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 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.0004572/0.3615, allocations: 307 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3616, allocations: 12.03 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3616, allocations: 12.84 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.3618, allocations: 130.4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3618, allocations: 8.375 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3619, allocations: 8.375 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.362, allocations: 93.98 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.362, allocations: 4.188 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3621, allocations: 15.91 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3621, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.3622, allocations: 39.92 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.3627, allocations: 360.4 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.3628, allocations: 41.09 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3628, allocations: 17.84 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3629, allocations: 4.031 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3629, allocations: 34.56 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3629, allocations: 4 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001838/0.3631, allocations: 57.52 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.3631, allocations: 77.36 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3633, allocations: 129.2 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3633, allocations: 25.7 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.3634, allocations: 115.9 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.3634, allocations: 3.953 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.3634, allocations: 17.72 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3636, allocations: 314.8 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.3636, allocations: 11.98 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.3636, allocations: 13.72 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.3637, allocations: 29.66 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3637, allocations: 4 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.377e-05/0.3638, allocations: 49.69 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3638, allocations: 8 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3638, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3638, allocations: 3.938 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.3639, allocations: 11.94 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3639, allocations: 0 / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.3639, allocations: 7.953 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3639, allocations: 4 kB / 1.368 GB, free: 10.31 MB / 1.061 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 8.921e-05/0.364, allocations: 117.8 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.364, allocations: 4 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.3641, allocations: 15.39 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3641, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3641, allocations: 4 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3641, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.3645, allocations: 414.4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3645, allocations: 3.938 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3645, allocations: 4 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3645, allocations: 3.938 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3645, allocations: 4.062 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3645, allocations: 4 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3645, allocations: 0 / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.136e-05/0.3646, allocations: 77.92 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3646, allocations: 11.89 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.3646, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.3647, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.3647, allocations: 3.938 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.3647, allocations: 4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.3648, allocations: 107.2 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3648, allocations: 4.031 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001891/0.3649, allocations: 11.95 kB / 1.368 GB, free: 9.445 MB / 1.061 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.0001103/0.3651, allocations: 91.25 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.973e-05/0.3651, allocations: 19.94 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3652, allocations: 0 / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.3652, allocations: 8 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3653, allocations: 11.88 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.3657, allocations: 188.6 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.3658, allocations: 83.12 kB / 1.369 GB, free: 8.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.3658, allocations: 7.438 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3658, allocations: 0 / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of Templates: time 0.002344/0.3681, allocations: 0.7986 MB / 1.37 GB, free: 8.176 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.190237171947956]