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.001639/0.001639, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001668/0.001668, allocations: 164.8 kB / 23.01 MB, free: 4.602 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.567/1.567, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.908/2.908, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002238/0.002238, allocations: 59.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.01, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001666/1.011, allocations: 0.7855 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/1.011, allocations: 52.23 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/1.011, allocations: 2.812 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/1.011, allocations: 7.875 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/1.011, allocations: 7.875 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.879e-05/1.012, allocations: 19.44 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/1.012, allocations: 62.16 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/1.012, allocations: 35.09 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/1.012, allocations: 30.05 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/1.012, allocations: 29.14 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/1.012, allocations: 5.312 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/1.012, allocations: 9.188 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/1.012, allocations: 13.89 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/1.012, allocations: 31.17 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/1.012, allocations: 78.27 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.012, allocations: 0 / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/1.012, allocations: 2.25 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.012, allocations: 0 / 1.155 GB, free: 32.59 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.0003152/1.012, allocations: 303.9 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/1.012, allocations: 8.094 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/1.012, allocations: 14.33 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.013, allocations: 137 kB / 1.155 GB, free: 32.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/1.013, allocations: 7.219 kB / 1.155 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.013, allocations: 9.547 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/1.013, allocations: 97.42 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.013, allocations: 192 / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.013, allocations: 10.53 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.013, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/1.013, allocations: 38.03 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/1.013, allocations: 361.8 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/1.013, allocations: 36.22 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/1.013, allocations: 19.38 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/1.013, allocations: 3.125 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/1.013, allocations: 37.88 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.013, allocations: 0 / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/1.013, allocations: 55.97 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/1.013, allocations: 77.11 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/1.013, allocations: 127.7 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/1.013, allocations: 25.95 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/1.014, allocations: 119.8 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-06/1.014, allocations: 10.52 kB / 1.156 GB, free: 31.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/1.014, allocations: 16.25 kB / 1.156 GB, free: 31.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.504e-05/1.014, allocations: 321.3 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/1.014, allocations: 6.438 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/1.014, allocations: 14.97 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/1.014, allocations: 32.16 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.014, allocations: 0 / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.231e-05/1.014, allocations: 57.06 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.014, allocations: 9.812 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/1.014, allocations: 0 / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.014, allocations: 3.938 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/1.014, allocations: 13.3 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.014, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/1.014, allocations: 2.562 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/1.014, allocations: 0 / 1.157 GB, free: 30.76 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.346e-05/1.014, allocations: 115.4 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/1.014, allocations: 6.391 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/1.014, allocations: 18.09 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.014, allocations: 3.422 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.014, allocations: 2.562 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/1.014, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/1.014, allocations: 407.2 kB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.014, allocations: 3.938 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/1.014, allocations: 2.938 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.014, allocations: 6.641 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/1.014, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.014, allocations: 0 / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.014, allocations: 7.125 kB / 1.157 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.184e-05/1.014, allocations: 76 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/1.014, allocations: 17.84 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/1.014, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.74e-05/1.014, allocations: 2.844 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/1.014, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/1.014, allocations: 6.719 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.709e-05/1.014, allocations: 100.5 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001886/1.015, allocations: 12.56 kB / 1.158 GB, free: 30.01 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 6.505e-05/1.015, allocations: 100.8 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.166e-05/1.015, allocations: 18.88 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.015, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/1.015, allocations: 8.406 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/1.015, allocations: 10.53 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/1.015, allocations: 148.7 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/1.015, allocations: 92.86 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.413e-05/1.015, allocations: 2.562 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/1.015, allocations: 11.81 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.015, allocations: 0 / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of Templates: time 0.002375/1.018, allocations: 329.2 kB / 1.158 GB, free: 29.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.141742842039093]