Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007254/0.0007254, 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.0007578/0.0007578, 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.9124/0.9124, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.034e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001237/0.001257, allocations: 0.7858 MB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 9.818e-05/0.001356, allocations: 43.78 kB / 0.9526 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.001398, allocations: 4 kB / 0.9526 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.001434, allocations: 11.86 kB / 0.9526 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.001507, allocations: 15.88 kB / 0.9526 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.773e-05/0.001545, allocations: 19.91 kB / 0.9526 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.001635, allocations: 63.78 kB / 0.9527 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.001757, allocations: 31.97 kB / 0.9527 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.001841, allocations: 39.89 kB / 0.9527 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.00188, allocations: 15.92 kB / 0.9527 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.001902, allocations: 8 kB / 0.9528 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.112e-06/0.001908, allocations: 4 kB / 0.9528 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.001928, allocations: 23.91 kB / 0.9528 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.001956, allocations: 23.88 kB / 0.9528 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.002052, allocations: 71.69 kB / 0.9529 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.002055, allocations: 4 kB / 0.9529 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002056, allocations: 0 / 0.9529 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.00206, allocations: 0 / 0.9529 GB, free: 1.855 MB / 0.9011 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.0003258/0.002386, allocations: 301.9 kB / 0.9532 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.002422, allocations: 16.02 kB / 0.9532 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.00245, allocations: 12.84 kB / 0.9532 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.002599, allocations: 141.5 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002609, allocations: 4.375 kB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.002622, allocations: 12.38 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.002739, allocations: 83.95 kB / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.002747, allocations: 192 / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.002758, allocations: 8.375 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.002763, allocations: 384 / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.834e-05/0.002822, allocations: 43.86 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.003176, allocations: 352.4 kB / 0.9538 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.003223, allocations: 37.28 kB / 0.9538 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.003252, allocations: 29.83 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.003258, allocations: 0 / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.003276, allocations: 30.56 kB / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.003277, allocations: 0 / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001298/0.003407, allocations: 49.64 kB / 0.9539 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.003444, allocations: 81.11 kB / 0.954 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.003526, allocations: 135.5 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.003535, allocations: 25.7 kB / 0.9542 GB, free: 352 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.003589, allocations: 108.2 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.003596, allocations: 11.89 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.003621, allocations: 21.67 kB / 0.9543 GB, free: 200 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.003708, allocations: 318.8 kB / 0.9546 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.003722, allocations: 4 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.003737, allocations: 21.66 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.003771, allocations: 33.7 kB / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003772, allocations: 0 / 0.9547 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.97e-05/0.003822, allocations: 49.64 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.003835, allocations: 12.06 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.003839, allocations: 0 / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.00385, allocations: 96 / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.003898, allocations: 15.91 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.003905, allocations: 7.938 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.003918, allocations: 0 / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.003923, allocations: 4 kB / 0.9548 GB, free: 15.71 MB / 0.9167 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.39e-05/0.003977, allocations: 109.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.003997, allocations: 11.95 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.004013, allocations: 7.406 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.004016, allocations: 8 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.004019, allocations: 0 / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.004025, allocations: 7.922 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.004248, allocations: 410.4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004249, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-06/0.004257, allocations: 4 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004259, allocations: 3.984 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.004265, allocations: 3.938 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004266, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.004267, allocations: 4 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.912e-05/0.004316, allocations: 74.02 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.004331, allocations: 11.94 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.004341, allocations: 7.938 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-06/0.004349, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.004361, allocations: 3.938 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004364, allocations: 4 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.004403, allocations: 95.27 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004403, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001232/0.004526, allocations: 12 kB / 0.9555 GB, free: 14.87 MB / 0.9167 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.366e-05/0.004589, allocations: 95.28 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.393e-05/0.004653, allocations: 19.98 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.004655, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-06/0.004661, allocations: 7.938 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.004764, allocations: 8 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.004993, allocations: 192.2 kB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.005041, allocations: 81.3 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.005061, allocations: 8.5 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.005061, allocations: 3.938 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of Templates: time 0.001371/0.006433, allocations: 0.7981 MB / 0.9567 GB, free: 13.59 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.413681503385305]