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.00137/0.00137, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001527/0.001527, allocations: 218.6 kB / 23.01 MB, free: 5.121 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.287/3.287, allocations: 0.505 GB / 0.8108 GB, free: 22 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.002082/0.002082, allocations: 63.25 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002188/0.3386, allocations: 0.8335 MB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.3388, allocations: 43.78 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.3388, allocations: 8 kB / 1.355 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.3389, allocations: 11.86 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.339, allocations: 7.875 kB / 1.355 GB, free: 7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.76e-05/0.339, allocations: 19.98 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3391, allocations: 63.83 kB / 1.355 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3393, allocations: 23.98 kB / 1.355 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3394, allocations: 35.8 kB / 1.355 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.3394, allocations: 23.86 kB / 1.355 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3394, allocations: 4 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3394, allocations: 8 kB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.3395, allocations: 23.91 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.3395, allocations: 35.75 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3396, allocations: 75.58 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3396, allocations: 0 / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3396, allocations: 0 / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3396, allocations: 0 / 1.355 GB, free: 6.691 MB / 1.045 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.0004475/0.3401, allocations: 309.9 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3401, allocations: 8.031 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3402, allocations: 8.891 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3404, allocations: 146.4 kB / 1.356 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3404, allocations: 4.375 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3404, allocations: 8.375 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3406, allocations: 95.78 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3406, allocations: 4.188 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3406, allocations: 7.938 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3406, allocations: 0 / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.3407, allocations: 39.97 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3413, allocations: 403.8 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.3413, allocations: 41.2 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.3414, allocations: 13.88 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.3414, allocations: 7.938 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.3414, allocations: 38.56 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3414, allocations: 0 / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.3416, allocations: 53.53 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3417, allocations: 81.09 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3419, allocations: 157.1 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3419, allocations: 29.95 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.342, allocations: 104 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.342, allocations: 11.89 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.342, allocations: 21.7 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3422, allocations: 314.8 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.3422, allocations: 7.984 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.3422, allocations: 17.72 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.3423, allocations: 29.66 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3423, allocations: 0 / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.637e-05/0.3424, allocations: 61.64 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3424, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3424, allocations: 3.938 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3424, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.3425, allocations: 7.938 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3425, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.3425, allocations: 12.02 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.3425, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 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.968e-05/0.3426, allocations: 121.7 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.3426, allocations: 11.94 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.3427, allocations: 15.75 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3427, allocations: 3.938 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3427, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3427, allocations: 4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.3431, allocations: 453.7 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3431, allocations: 0 / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3431, allocations: 4 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3431, allocations: 0 / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3432, allocations: 4 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3432, allocations: 3.984 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3432, allocations: 0 / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.45e-05/0.3433, allocations: 85.89 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.3433, allocations: 11.94 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3433, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.3433, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.3433, allocations: 8 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.3433, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3434, allocations: 120.9 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 4.031 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001904/0.3436, allocations: 11.94 kB / 1.358 GB, free: 3.516 MB / 1.045 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.0001078/0.3437, allocations: 91.25 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.3438, allocations: 23.92 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3438, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.3438, allocations: 4 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.344, allocations: 13.91 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3444, allocations: 188.4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3447, allocations: 0.6924 MB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3448, allocations: 11.44 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.3448, allocations: 4 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of Templates: time 0.002556/0.3473, allocations: 0.8722 MB / 1.36 GB, free: 1.543 MB / 1.045 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.256432337977458]