Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00193/0.00193, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.002078/0.002078, allocations: 167.3 kB / 22.46 MB, free: 5.359 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.83/2.83, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.281e-05, allocations: 6.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00205/0.002083, allocations: 0.7815 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.002218, allocations: 39.78 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.002274, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.32e-05/0.002317, allocations: 11.88 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.002413, allocations: 15.86 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.045e-05/0.002473, allocations: 23.97 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.002626, allocations: 55.84 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.002779, allocations: 35.92 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.002887, allocations: 43.83 kB / 0.952 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.002941, allocations: 19.91 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.002975, allocations: 11.94 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.00299, allocations: 8 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.003016, allocations: 11.92 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.003056, allocations: 27.92 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.003212, allocations: 75.69 kB / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.003216, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003216, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.003227, allocations: 0 / 0.9521 GB, free: 10.41 MB / 0.8575 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.0005078/0.003735, allocations: 302 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.003775, allocations: 8.031 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.003813, allocations: 12.89 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.004045, allocations: 133.6 kB / 0.9525 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.004058, allocations: 8.375 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.004075, allocations: 8.375 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.004261, allocations: 91.94 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.004275, allocations: 4.125 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.004289, allocations: 8.375 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004295, allocations: 384 / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.00439, allocations: 35.92 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.004972, allocations: 360.5 kB / 0.953 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.005046, allocations: 41.03 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.0051, allocations: 25.84 kB / 0.9531 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.005109, allocations: 0 / 0.9531 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.005138, allocations: 34.5 kB / 0.9531 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005139, allocations: 4 kB / 0.9531 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002039/0.005343, allocations: 45.69 kB / 0.9532 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.005424, allocations: 81.05 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.005579, allocations: 135.3 kB / 0.9534 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.005596, allocations: 25.7 kB / 0.9534 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.005731, allocations: 107.9 kB / 0.9535 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.005742, allocations: 8.203 kB / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.005777, allocations: 17.72 kB / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.005935, allocations: 318.8 kB / 0.9539 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.005956, allocations: 7.984 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.005982, allocations: 17.72 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.006029, allocations: 21.72 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00603, allocations: 0 / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/0.006141, allocations: 61.58 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.006159, allocations: 8 kB / 0.954 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006164, allocations: 4.062 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.006179, allocations: 3.938 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.006247, allocations: 8 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.006256, allocations: 3.938 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.00628, allocations: 0 / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.006284, allocations: 3.938 kB / 0.954 GB, free: 8.285 MB / 0.8575 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 9.25e-05/0.006377, allocations: 117.8 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.006419, allocations: 7.953 kB / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.006446, allocations: 11.47 kB / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.006447, allocations: 0 / 0.9541 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.006453, allocations: 4 kB / 0.9541 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.006457, allocations: 3.938 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.00688, allocations: 414.4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006881, allocations: 0 / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.006901, allocations: 4 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.006903, allocations: 0 / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.006913, allocations: 3.938 kB / 0.9545 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.006916, allocations: 7.938 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.006921, allocations: 4 kB / 0.9545 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.007034, allocations: 81.94 kB / 0.9546 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.00706, allocations: 11.95 kB / 0.9546 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.007075, allocations: 4.031 kB / 0.9546 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.007092, allocations: 0 / 0.9546 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.007116, allocations: 7.969 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.007122, allocations: 8 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.007199, allocations: 99.39 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.007199, allocations: 0 / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001901/0.007389, allocations: 8 kB / 0.9547 GB, free: 7.43 MB / 0.8575 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.0001411/0.00753, allocations: 95.28 kB / 0.9548 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.00762, allocations: 19.94 kB / 0.9549 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007622, allocations: 0 / 0.9549 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.007634, allocations: 8 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.007786, allocations: 13.95 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.008134, allocations: 162.7 kB / 0.955 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.906e-05/0.008213, allocations: 81.84 kB / 0.9551 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.008241, allocations: 7.984 kB / 0.9551 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.008269, allocations: 12.5 kB / 0.9551 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.008269, allocations: 0 / 0.9551 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.00279/0.01106, allocations: 330.2 kB / 0.9554 GB, free: 6.66 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.160607676953077]