Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.000886/0.000886, allocations: 92.7 kB / 20.21 MB, free: 4.23 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.0008311/0.0008311, allocations: 161.7 kB / 23.51 MB, free: 0.9258 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.9246/0.9246, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.883/1.883, allocations: 393.3 MB / 0.6383 GB, free: 8.305 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8312 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.172e-05, allocations: 2.969 kB / 0.8312 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001296/0.001318, allocations: 0.8115 MB / 0.832 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/0.001421, allocations: 40.59 kB / 0.832 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.001473, allocations: 1.219 kB / 0.832 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.001507, allocations: 7.875 kB / 0.832 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.001587, allocations: 11.94 kB / 0.8321 GB, free: 9.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.994e-05/0.001627, allocations: 17.39 kB / 0.8321 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.00173, allocations: 67.67 kB / 0.8321 GB, free: 9.875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.001863, allocations: 39.89 kB / 0.8322 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.001938, allocations: 35.91 kB / 0.8322 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.00199, allocations: 20.59 kB / 0.8322 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.002014, allocations: 8.906 kB / 0.8322 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.002021, allocations: 4 kB / 0.8322 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.002042, allocations: 15.92 kB / 0.8323 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.002071, allocations: 20.59 kB / 0.8323 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.002182, allocations: 76.38 kB / 0.8324 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.002184, allocations: 0 / 0.8324 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002185, allocations: 1.188 kB / 0.8324 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.002194, allocations: 4 kB / 0.8324 GB, free: 9.656 MB / 0.7917 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.0003538/0.002548, allocations: 302 kB / 0.8326 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.002586, allocations: 13.44 kB / 0.8327 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.002627, allocations: 16.89 kB / 0.8327 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.002779, allocations: 140.5 kB / 0.8328 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.002789, allocations: 384 / 0.8328 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.002806, allocations: 13 kB / 0.8328 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.002927, allocations: 91.23 kB / 0.8329 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.002936, allocations: 192 / 0.8329 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.002945, allocations: 384 / 0.8329 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.002951, allocations: 5.094 kB / 0.8329 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.003009, allocations: 43.86 kB / 0.833 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.003354, allocations: 353 kB / 0.8333 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.003407, allocations: 42.91 kB / 0.8333 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.003437, allocations: 17.77 kB / 0.8333 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.003444, allocations: 0 / 0.8333 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.003469, allocations: 39.22 kB / 0.8334 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.003471, allocations: 1.375 kB / 0.8334 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.000148/0.003619, allocations: 49.59 kB / 0.8334 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.003651, allocations: 77.11 kB / 0.8335 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.003742, allocations: 136 kB / 0.8336 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003751, allocations: 25.7 kB / 0.8337 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.003803, allocations: 112.7 kB / 0.8338 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.003809, allocations: 3.953 kB / 0.8338 GB, free: 8.039 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.003835, allocations: 18.88 kB / 0.8338 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.003913, allocations: 318.8 kB / 0.8341 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.003927, allocations: 7.938 kB / 0.8341 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.003947, allocations: 22.7 kB / 0.8341 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.00398, allocations: 26.47 kB / 0.8342 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.003981, allocations: 3.938 kB / 0.8342 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.08e-05/0.004042, allocations: 59.28 kB / 0.8342 GB, free: 7.562 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.004056, allocations: 4 kB / 0.8342 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.004063, allocations: 8 kB / 0.8342 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.004079, allocations: 0 / 0.8342 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.00413, allocations: 8.859 kB / 0.8342 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.004137, allocations: 3.938 kB / 0.8342 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.004153, allocations: 11.41 kB / 0.8342 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.004156, allocations: 0 / 0.8342 GB, free: 7.531 MB / 0.7917 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.238e-05/0.004209, allocations: 113.8 kB / 0.8344 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.004232, allocations: 11.89 kB / 0.8344 GB, free: 7.398 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.004248, allocations: 7.469 kB / 0.8344 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.004251, allocations: 4 kB / 0.8344 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.004257, allocations: 3.984 kB / 0.8344 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.00426, allocations: 3.938 kB / 0.8344 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.004506, allocations: 411 kB / 0.8348 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.004508, allocations: 0.5312 kB / 0.8348 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.00452, allocations: 7.984 kB / 0.8348 GB, free: 6.926 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.004521, allocations: 1.688 kB / 0.8348 GB, free: 6.926 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.004527, allocations: 3.938 kB / 0.8348 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004528, allocations: 0 / 0.8348 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004529, allocations: 4 kB / 0.8348 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.681e-05/0.004576, allocations: 72.55 kB / 0.8349 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.004592, allocations: 11.94 kB / 0.8349 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.004603, allocations: 3.938 kB / 0.8349 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.004611, allocations: 0 / 0.8349 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.004625, allocations: 8.016 kB / 0.8349 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.004628, allocations: 4 kB / 0.8349 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.004707, allocations: 102.3 kB / 0.835 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.004707, allocations: 0 / 0.835 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001183/0.004825, allocations: 8 kB / 0.835 GB, free: 6.695 MB / 0.7917 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 6.679e-05/0.004892, allocations: 93.38 kB / 0.8351 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.004963, allocations: 19.98 kB / 0.8351 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.004964, allocations: 0 / 0.8351 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.685e-06/0.004972, allocations: 12.47 kB / 0.8351 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.005082, allocations: 0.7812 kB / 0.8351 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.005323, allocations: 174.6 kB / 0.8353 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.905e-05/0.005393, allocations: 76.42 kB / 0.8354 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.005414, allocations: 9.906 kB / 0.8354 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.005434, allocations: 12.5 kB / 0.8354 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of SimCode: time 6.21e-07/0.005435, allocations: 0 / 0.8354 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of Templates: time 0.00165/0.007085, allocations: 341.6 kB / 0.8357 GB, free: 5.934 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 5.006555013358593]