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.008003/0.008003, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001504/0.001504, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.75/2.75, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.56 kB / 0.9509 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3431, allocations: 140.4 MB / 1.088 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002251/0.3454, allocations: 0.8216 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.3455, allocations: 47.78 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.3456, allocations: 0 / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.3457, allocations: 7.875 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.3458, allocations: 7.938 kB / 1.089 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.526e-05/0.3459, allocations: 23.91 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.346, allocations: 63.78 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3462, allocations: 39.97 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.3462, allocations: 35.84 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.3463, allocations: 27.8 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3463, allocations: 8 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.3463, allocations: 11.94 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3464, allocations: 11.98 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.3464, allocations: 35.75 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3466, allocations: 79.56 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3466, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3466, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3466, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 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.0005147/0.3471, allocations: 379.1 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3472, allocations: 12.03 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3472, allocations: 8.891 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3474, allocations: 200.2 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3475, allocations: 4.375 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3475, allocations: 8.375 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3476, allocations: 83.95 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3477, allocations: 4.125 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3477, allocations: 11.94 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3477, allocations: 7.984 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.3478, allocations: 35.98 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3483, allocations: 436.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.3484, allocations: 37.16 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.3484, allocations: 17.84 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3485, allocations: 4 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3485, allocations: 34.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3485, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.3487, allocations: 57.58 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3487, allocations: 89.23 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3489, allocations: 155.9 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3489, allocations: 33.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.349, allocations: 108 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.349, allocations: 7.891 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.349, allocations: 17.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3491, allocations: 318.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.3492, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.3492, allocations: 29.66 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.3492, allocations: 25.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3493, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.434e-05/0.3493, allocations: 53.66 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3494, allocations: 9.094 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3494, allocations: 3.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3494, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.3495, allocations: 8.062 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3495, allocations: 11.92 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3495, allocations: 7.953 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3495, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 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.792e-05/0.3496, allocations: 113.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3497, allocations: 7.953 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.3497, allocations: 15.81 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3497, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3497, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3497, allocations: 11.98 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.3501, allocations: 466.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3501, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.3501, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3501, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3501, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3501, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3502, allocations: 4.062 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.561e-05/0.3502, allocations: 85.81 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3503, allocations: 85.06 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3503, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.3503, allocations: 7.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3504, allocations: 3.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3504, allocations: 4.031 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.3505, allocations: 121.1 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001876/0.3507, allocations: 11.95 kB / 1.092 GB, free: 12.87 MB / 0.8575 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.000146/0.3508, allocations: 106.1 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.867e-05/0.3509, allocations: 19.94 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3509, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/0.3509, allocations: 8.125 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.3511, allocations: 11.94 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.3514, allocations: 162.8 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3517, allocations: 0.6924 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.3517, allocations: 12.55 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.3517, allocations: 15.38 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3517, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of Templates: time 0.002577/0.3543, allocations: 453.9 kB / 1.094 GB, free: 11.34 MB / 0.8575 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/jenkins/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