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.001464/0.001464, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.001726/0.001726, allocations: 160.8 kB / 22.45 MB, free: 5.375 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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 2.965/2.965, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] 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 4.629e-06/4.629e-06, allocations: 4 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.663e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002377/0.002414, allocations: 0.7966 MB / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.002591, allocations: 47.77 kB / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.002659, allocations: 0 / 1.001 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.675e-05/0.002715, allocations: 7.875 kB / 1.001 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.002823, allocations: 11.88 kB / 1.001 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.145e-05/0.002894, allocations: 19.97 kB / 1.001 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.003051, allocations: 59.84 kB / 1.001 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.003237, allocations: 39.84 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.00337, allocations: 39.91 kB / 1.001 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.003426, allocations: 15.92 kB / 1.001 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.003464, allocations: 8 kB / 1.001 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.003477, allocations: 7.938 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.003512, allocations: 19.91 kB / 1.001 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.00356, allocations: 19.92 kB / 1.001 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.003725, allocations: 67.77 kB / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003728, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003729, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.003734, allocations: 0 / 1.001 GB, free: 6.113 MB / 0.9512 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.0005818/0.004316, allocations: 306 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.004364, allocations: 16.03 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.00441, allocations: 8.891 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.004669, allocations: 133.5 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.004692, allocations: 8.375 kB / 1.002 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.004713, allocations: 4.375 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.00493, allocations: 98.05 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.004942, allocations: 192 / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.004961, allocations: 4.375 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.004971, allocations: 4.375 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.005075, allocations: 43.8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.005728, allocations: 360.4 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.005825, allocations: 45.31 kB / 1.002 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.005877, allocations: 17.78 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.005896, allocations: 4 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.005929, allocations: 30.56 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.00593, allocations: 0 / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000247/0.006177, allocations: 49.59 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.006253, allocations: 85.34 kB / 1.002 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.006427, allocations: 136.3 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.006449, allocations: 29.64 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.006555, allocations: 111.9 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.006569, allocations: 7.953 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.006614, allocations: 17.7 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.006811, allocations: 314.8 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.006833, allocations: 4 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.006872, allocations: 25.7 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.006938, allocations: 29.72 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006941, allocations: 0 / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.007055, allocations: 53.59 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.007077, allocations: 7.984 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007083, allocations: 0 / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.007102, allocations: 4 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.007182, allocations: 4 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.007194, allocations: 3.938 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.007229, allocations: 7.938 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007235, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 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 0.0001363/0.007371, allocations: 121.8 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.007425, allocations: 11.89 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.007562, allocations: 15.45 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007565, allocations: 0 / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.007575, allocations: 4 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.007585, allocations: 3.938 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.008081, allocations: 410.5 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.008083, allocations: 0 / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.008105, allocations: 4 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.00811, allocations: 4.062 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.00812, allocations: 3.938 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008122, allocations: 0 / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008123, allocations: 0 / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.008241, allocations: 77.88 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.008262, allocations: 4 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.00828, allocations: 3.938 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.008301, allocations: 4 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.00833, allocations: 7.938 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.008332, allocations: 0 / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.433e-05/0.008426, allocations: 95.27 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.008426, allocations: 8.031 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002629/0.008689, allocations: 7.953 kB / 1.004 GB, free: 3.121 MB / 0.9512 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.0001696/0.008859, allocations: 107.2 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.00897, allocations: 12 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.008972, allocations: 0 / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.008986, allocations: 7.938 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.009194, allocations: 4 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.009659, allocations: 170.8 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.009765, allocations: 75.33 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.009809, allocations: 7.984 kB / 1.004 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.009845, allocations: 8.5 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.009845, allocations: 0 / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of Templates: time 0.003779/0.01362, allocations: 340.7 kB / 1.005 GB, free: 2.34 MB / 0.9512 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: 8.330366734415293]