Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.00181/0.00181, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002255/0.002255, allocations: 212.5 kB / 22.99 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.283/3.283, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002134/0.002134, allocations: 72.7 kB / 1.187 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 181.9 MB / 1.365 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002127/0.3412, allocations: 0.7946 MB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.3414, allocations: 43.78 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3414, allocations: 7.938 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.3415, allocations: 7.875 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.62e-05/0.3415, allocations: 7.938 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.061e-05/0.3416, allocations: 19.97 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3417, allocations: 59.84 kB / 1.366 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3418, allocations: 27.98 kB / 1.366 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.3419, allocations: 27.86 kB / 1.366 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.3419, allocations: 23.8 kB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.342, allocations: 8 kB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.342, allocations: 4 kB / 1.366 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.342, allocations: 27.84 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.342, allocations: 27.88 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3421, allocations: 71.58 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3422, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3422, allocations: 4 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3422, allocations: 0 / 1.366 GB, free: 12.54 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.00043/0.3426, allocations: 302 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3426, allocations: 8.031 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.3427, allocations: 16.78 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3429, allocations: 138.3 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3429, allocations: 4.375 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3429, allocations: 12.38 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3431, allocations: 97.88 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3431, allocations: 4.125 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3431, allocations: 7.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3431, allocations: 3.938 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.3432, allocations: 35.98 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.3437, allocations: 348.4 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.3438, allocations: 41.28 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.3438, allocations: 29.83 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.3438, allocations: 0 / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3438, allocations: 30.56 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3438, allocations: 3.938 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.344, allocations: 57.58 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3441, allocations: 81.05 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3442, allocations: 132.2 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3442, allocations: 25.7 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3443, allocations: 107.9 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.3443, allocations: 4.203 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.3443, allocations: 21.72 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3445, allocations: 322.8 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.3445, allocations: 8 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.3445, allocations: 17.72 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.3446, allocations: 21.72 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3446, allocations: 0 / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.799e-05/0.3447, allocations: 57.62 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3447, allocations: 8 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3447, allocations: 4.062 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3447, allocations: 3.938 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.3447, allocations: 8 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3448, allocations: 0 / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.3448, allocations: 7.891 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.3448, allocations: 0 / 1.368 GB, free: 10.4 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.723e-05/0.3449, allocations: 125.7 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3449, allocations: 4 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3449, allocations: 11.41 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3449, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3449, allocations: 4 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3449, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3453, allocations: 418.4 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3453, allocations: 3.938 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.3454, allocations: 4 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3454, allocations: 0 / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.3454, allocations: 7.938 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3454, allocations: 4 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3454, allocations: 0 / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.3455, allocations: 74.05 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.3455, allocations: 15.83 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3455, allocations: 0 / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.3455, allocations: 3.984 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.3455, allocations: 4 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3455, allocations: 4 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.3456, allocations: 99.27 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 0 / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00019/0.3458, allocations: 11.95 kB / 1.368 GB, free: 9.535 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.000102/0.3459, allocations: 95.25 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.856e-05/0.346, allocations: 23.95 kB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.346, allocations: 4 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.346, allocations: 4 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3461, allocations: 7.938 kB / 1.369 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.3464, allocations: 176.5 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/0.3465, allocations: 87.36 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.3466, allocations: 11.44 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3466, allocations: 0 / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of Templates: time 0.002243/0.3488, allocations: 0.8011 MB / 1.37 GB, free: 8.266 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 10.989036104176193]