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.001573/0.001573, 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.002238/0.002238, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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 3.15/3.15, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 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.002028/0.002028, allocations: 62.03 kB / 1.155 GB, free: 25.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002187/0.3533, allocations: 0.8287 MB / 1.328 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000109/0.3534, allocations: 39.78 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.3535, allocations: 4 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.3535, allocations: 7.875 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.3536, allocations: 11.92 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.564e-05/0.3537, allocations: 15.98 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3538, allocations: 67.78 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3539, allocations: 31.97 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.354, allocations: 39.8 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.3541, allocations: 27.8 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3541, allocations: 4 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.3541, allocations: 8 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3541, allocations: 15.98 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.3541, allocations: 31.69 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3543, allocations: 83.56 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3543, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3543, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3543, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 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.000461/0.3547, allocations: 307.7 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3548, allocations: 8.031 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3548, allocations: 12.89 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.355, allocations: 138.3 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.355, allocations: 4.375 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3551, allocations: 8.375 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3552, allocations: 89.67 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3552, allocations: 4.188 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3552, allocations: 7.938 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3553, allocations: 3.984 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.3553, allocations: 39.92 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3559, allocations: 403.7 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.356, allocations: 45.34 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.356, allocations: 13.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.356, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.356, allocations: 34.56 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.356, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001775/0.3562, allocations: 65.52 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3563, allocations: 81.05 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3564, allocations: 162.1 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3564, allocations: 29.7 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.3565, allocations: 104 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.3565, allocations: 7.953 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3566, allocations: 17.72 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3567, allocations: 323.1 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.3567, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.3568, allocations: 17.72 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.3568, allocations: 21.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3568, allocations: 4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.729e-05/0.3569, allocations: 61.58 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3569, allocations: 12 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3569, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3569, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.357, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.357, allocations: 3.984 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.357, allocations: 7.953 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.357, allocations: 3.984 kB / 1.33 GB, free: 14.03 MB / 1.029 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.48e-05/0.3571, allocations: 117.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.3572, allocations: 7.953 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.3572, allocations: 19.75 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3572, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3572, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3572, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.3576, allocations: 441.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3576, allocations: 4 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3577, allocations: 7.984 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3577, allocations: 4.062 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3577, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3577, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3577, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.3578, allocations: 77.89 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3578, allocations: 19.83 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3578, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.3578, allocations: 11.97 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.3578, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3578, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001069/0.3579, allocations: 123.2 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3579, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001897/0.3581, allocations: 8 kB / 1.331 GB, free: 13.1 MB / 1.029 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.0001126/0.3583, allocations: 105.3 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.3583, allocations: 16 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3583, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.3583, allocations: 7.938 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3585, allocations: 15.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3589, allocations: 184.5 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3592, allocations: 0.6965 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3593, allocations: 11.44 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3593, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of Templates: time 0.002369/0.3616, allocations: 0.8677 MB / 1.333 GB, free: 11.12 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.029153319017496]