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.0006981/0.0006981, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000789/0.000789, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8742/0.8742, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.633e-05, allocations: 17.11 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001967/0.002003, allocations: 0.7928 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.002134, allocations: 43.78 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.002192, allocations: 0 / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.002233, allocations: 11.88 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.983e-05/0.002333, allocations: 11.92 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.861e-05/0.002382, allocations: 15.98 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.002511, allocations: 67.77 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.002655, allocations: 27.98 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.002755, allocations: 39.89 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.002806, allocations: 19.91 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.002834, allocations: 8 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.002843, allocations: 4 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.002864, allocations: 11.94 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.002902, allocations: 27.91 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.003033, allocations: 79.58 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003036, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003037, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.003043, allocations: 4 kB / 1.002 GB, free: 11.84 MB / 0.9636 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.0004351/0.003478, allocations: 302 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.003524, allocations: 12.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.003562, allocations: 8.891 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.003759, allocations: 133.6 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.003772, allocations: 4.375 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.003788, allocations: 16.38 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.003945, allocations: 91.84 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.003954, allocations: 192 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.003968, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.003974, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.951e-05/0.004054, allocations: 43.86 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.004535, allocations: 356.4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.004597, allocations: 41.28 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.004632, allocations: 17.84 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.004641, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.004664, allocations: 30.56 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.004665, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.004847, allocations: 57.58 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.004895, allocations: 85.05 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.005008, allocations: 121.8 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.00502, allocations: 29.7 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.005093, allocations: 115.9 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.005101, allocations: 4.203 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.005139, allocations: 21.72 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.005233, allocations: 310.8 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.005254, allocations: 15.92 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.005277, allocations: 17.72 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.005319, allocations: 25.72 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005322, allocations: 3.938 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.375e-05/0.005415, allocations: 57.58 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.00543, allocations: 4 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.005439, allocations: 8.062 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.005455, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.005523, allocations: 4 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.00553, allocations: 3.938 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.005555, allocations: 8 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.00556, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 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 7.831e-05/0.005638, allocations: 113.8 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.005676, allocations: 7.953 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.005703, allocations: 7.453 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005706, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.005711, allocations: 8 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.005715, allocations: 7.875 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.006063, allocations: 410.5 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006065, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.006088, allocations: 7.938 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006091, allocations: 0 / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.006101, allocations: 7.938 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006102, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006104, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.763e-05/0.006181, allocations: 82.78 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.006204, allocations: 8 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.006219, allocations: 7.938 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.006232, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.006247, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.006249, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.006309, allocations: 113.9 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006309, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002033/0.006512, allocations: 11.95 kB / 1.005 GB, free: 8.852 MB / 0.9636 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.0001104/0.006623, allocations: 91.25 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.00671, allocations: 19.97 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.006713, allocations: 4 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.006724, allocations: 7.938 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.006891, allocations: 4 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.007223, allocations: 192.2 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.007285, allocations: 77.64 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.007313, allocations: 16.5 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.007313, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of Templates: time 0.001963/0.009277, allocations: 0.8015 MB / 1.006 GB, free: 7.574 MB / 0.9636 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/jenkins/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: 6.444222433492541]