Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 102.2 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.88 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2663, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002283/0.2686, allocations: 0.8211 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001524/0.2688, allocations: 43.78 kB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.2689, allocations: 0 / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.862e-05/0.2689, allocations: 11.86 kB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2691, allocations: 11.86 kB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.789e-05/0.2691, allocations: 23.98 kB / 0.9512 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.2693, allocations: 63.84 kB / 0.9512 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2694, allocations: 39.97 kB / 0.9513 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.2695, allocations: 35.8 kB / 0.9513 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.2696, allocations: 23.86 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.2696, allocations: 8 kB / 0.9513 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.2696, allocations: 4 kB / 0.9513 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.2697, allocations: 15.92 kB / 0.9513 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.2697, allocations: 31.8 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2698, allocations: 75.98 kB / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.2699, allocations: 0 / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2699, allocations: 0 / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2699, allocations: 0 / 0.9514 GB, free: 7.691 MB / 0.7325 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.0004769/0.2704, allocations: 380.5 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2704, allocations: 12.02 kB / 0.9518 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.2705, allocations: 8.844 kB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.2707, allocations: 196.1 kB / 0.952 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2707, allocations: 8.375 kB / 0.952 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2707, allocations: 4.375 kB / 0.952 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2709, allocations: 102.1 kB / 0.9521 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2709, allocations: 8.125 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.271, allocations: 11.94 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.271, allocations: 0 / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.271, allocations: 39.97 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.2716, allocations: 432.6 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.2717, allocations: 41.16 kB / 0.9526 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.2717, allocations: 21.84 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.2717, allocations: 0 / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2717, allocations: 38.58 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.917e-06/0.2718, allocations: 4 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.2719, allocations: 57.42 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.272, allocations: 81.11 kB / 0.9528 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.2722, allocations: 168.4 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2722, allocations: 25.7 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.2722, allocations: 104 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2723, allocations: 7.906 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.2723, allocations: 13.97 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2724, allocations: 326.8 kB / 0.9534 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.2725, allocations: 4 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.2725, allocations: 17.72 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.2725, allocations: 33.64 kB / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2725, allocations: 0 / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.388e-05/0.2726, allocations: 53.61 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2727, allocations: 8 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2727, allocations: 3.938 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2727, allocations: 0 / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.2728, allocations: 11.92 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2728, allocations: 4 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.2728, allocations: 7.844 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.2728, allocations: 0 / 0.9536 GB, free: 5.242 MB / 0.7325 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.508e-05/0.2729, allocations: 113.8 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.273, allocations: 11.97 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.273, allocations: 15.81 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.273, allocations: 3.984 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.273, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.273, allocations: 4 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.2734, allocations: 470.8 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2734, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2734, allocations: 4.062 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2735, allocations: 4 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2735, allocations: 3.938 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2735, allocations: 0 / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2735, allocations: 0 / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.2736, allocations: 81.77 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2736, allocations: 89.02 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2737, allocations: 7.969 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.2737, allocations: 8 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.2737, allocations: 3.984 kB / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.2737, allocations: 0 / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.2738, allocations: 121.3 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2738, allocations: 0 / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000213/0.274, allocations: 8 kB / 0.9545 GB, free: 4.199 MB / 0.7325 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.0001092/0.2741, allocations: 95.25 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.2742, allocations: 27.94 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2742, allocations: 0 / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.2743, allocations: 8 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.2744, allocations: 11.94 kB / 0.9546 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.2748, allocations: 184.8 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2751, allocations: 0.6922 MB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2751, allocations: 11.44 kB / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2751, allocations: 0 / 0.9555 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of Templates: time 0.002239/0.2773, allocations: 0.86 MB / 0.9563 GB, free: 2.238 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches