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.0009167/0.0009167, 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.001064/0.001064, 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.951/0.951, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.792/1.792, allocations: 377.9 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.816e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001483/0.001511, allocations: 0.7931 MB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.001618, allocations: 43.78 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.001669, allocations: 4 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.001703, allocations: 7.875 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.143e-05/0.001785, allocations: 15.84 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-05/0.001824, allocations: 19.98 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.001925, allocations: 59.84 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.002056, allocations: 35.91 kB / 0.9832 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.002143, allocations: 39.84 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.002186, allocations: 19.91 kB / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.002212, allocations: 8 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.002219, allocations: 4 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.002239, allocations: 19.92 kB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.002267, allocations: 19.92 kB / 0.9833 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.002371, allocations: 71.7 kB / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002374, allocations: 0 / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.395e-06/0.002376, allocations: 3.984 kB / 0.9833 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.00238, allocations: 0 / 0.9833 GB, free: 0.9336 MB / 0.9323 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.0003814/0.002762, allocations: 302 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.002799, allocations: 12.03 kB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.002834, allocations: 12.84 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.003012, allocations: 129.6 kB / 0.9838 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.003031, allocations: 16.31 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.003043, allocations: 8.312 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003179, allocations: 95.94 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.003188, allocations: 192 / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.003203, allocations: 8.359 kB / 0.9839 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.003214, allocations: 4.375 kB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.003277, allocations: 43.8 kB / 0.9839 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.003708, allocations: 356.5 kB / 0.9843 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.003765, allocations: 37.19 kB / 0.9843 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.003794, allocations: 21.84 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.003803, allocations: 4 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.003825, allocations: 30.56 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.003826, allocations: 0 / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/0.003981, allocations: 53.58 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.004021, allocations: 77.11 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.004118, allocations: 139.8 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.00413, allocations: 25.7 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.004186, allocations: 112.2 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.004193, allocations: 8 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.00422, allocations: 17.67 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.004302, allocations: 314.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.004318, allocations: 11.98 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.004338, allocations: 21.72 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.004375, allocations: 25.66 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004377, allocations: 0 / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.452e-05/0.004441, allocations: 57.62 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004455, allocations: 8.062 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.004462, allocations: 4 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.004478, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.004536, allocations: 4 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.004542, allocations: 3.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.004563, allocations: 11.89 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.004567, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 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 5.884e-05/0.004626, allocations: 113.8 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.004649, allocations: 7.984 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.754e-05/0.004667, allocations: 7.469 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.004669, allocations: 7.938 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.004673, allocations: 4 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004676, allocations: 3.938 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.00493, allocations: 414.4 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.004932, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.004944, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.004946, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.004954, allocations: 3.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.004955, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004956, allocations: 3.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.469e-05/0.005011, allocations: 78.05 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.005028, allocations: 3.953 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005038, allocations: 11.88 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.005047, allocations: 0 / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.00506, allocations: 3.984 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.005062, allocations: 0 / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.005106, allocations: 107.3 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005106, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001249/0.005231, allocations: 7.953 kB / 0.986 GB, free: 13.95 MB / 0.948 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 9.357e-05/0.005324, allocations: 99.81 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.052e-05/0.005405, allocations: 19.94 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005406, allocations: 0 / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-06/0.005413, allocations: 8 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.005531, allocations: 10.58 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.005796, allocations: 192.3 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.00585, allocations: 79.58 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.005876, allocations: 8.5 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.005876, allocations: 0 / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Templates: time 0.001896/0.007772, allocations: 0.8093 MB / 0.9872 GB, free: 12.65 MB / 0.948 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/jenkins/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: 6.535834010690451]