Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00788/0.007881, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001953/0.001953, allocations: 191.1 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6649 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001501, allocations: 63.91 kB / 0.8125 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7049/0.7065, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002123/0.7086, allocations: 0.8737 MB / 0.9504 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.726e-05/0.7088, allocations: 45.28 kB / 0.9505 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.7088, allocations: 1.375 kB / 0.9505 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.7089, allocations: 7.922 kB / 0.9505 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.7089, allocations: 5.312 kB / 0.9505 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.233e-05/0.709, allocations: 20.11 kB / 0.9505 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.7091, allocations: 55.17 kB / 0.9506 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.7092, allocations: 45.7 kB / 0.9506 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.7093, allocations: 24.11 kB / 0.9506 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.7094, allocations: 29.34 kB / 0.9507 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.7094, allocations: 8.062 kB / 0.9507 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.7094, allocations: 2.75 kB / 0.9507 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.7094, allocations: 10.69 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.7095, allocations: 34.61 kB / 0.9507 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.7095, allocations: 56.86 kB / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7095, allocations: 0 / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7095, allocations: 7.938 kB / 0.9508 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.7096, allocations: 0 / 0.9508 GB, free: 8.16 MB / 0.7169 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.0003703/0.7099, allocations: 375.2 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.71, allocations: 9.625 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.71, allocations: 8.969 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.7102, allocations: 192.2 kB / 0.9513 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.7102, allocations: 10.81 kB / 0.9513 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.7102, allocations: 5.562 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.7104, allocations: 99.27 kB / 0.9514 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7104, allocations: 4.172 kB / 0.9514 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7104, allocations: 5.5 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7104, allocations: 1.344 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.582e-05/0.7105, allocations: 35.27 kB / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.711, allocations: 444.9 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.711, allocations: 37.62 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.7111, allocations: 24.34 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.7111, allocations: 0 / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.7111, allocations: 35.78 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.7111, allocations: 0 / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.7113, allocations: 58.53 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.7113, allocations: 78.33 kB / 0.9521 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7114, allocations: 163.6 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.7115, allocations: 25.7 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.7115, allocations: 108.7 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.7115, allocations: 13.44 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.7115, allocations: 13.72 kB / 0.9524 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.7116, allocations: 320.1 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.7116, allocations: 8.156 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.7117, allocations: 14.59 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.7117, allocations: 33.75 kB / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7117, allocations: 4 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.994e-05/0.7118, allocations: 55.69 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7118, allocations: 4.844 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7118, allocations: 9.375 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7118, allocations: 3.938 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.7119, allocations: 6.156 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7119, allocations: 5.047 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.7119, allocations: 1.938 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.712, allocations: 5.125 kB / 0.9529 GB, free: 5.992 MB / 0.7169 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.758e-05/0.712, allocations: 113.2 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.7121, allocations: 12.03 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.7121, allocations: 11.03 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.7121, allocations: 1.781 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7121, allocations: 0 / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7121, allocations: 1.719 kB / 0.953 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.7124, allocations: 480.9 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7124, allocations: 1.375 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.7124, allocations: 3.75 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7125, allocations: 0 / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.7125, allocations: 0 / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7125, allocations: 1.344 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7125, allocations: 1.188 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.917e-05/0.7125, allocations: 85.77 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.7126, allocations: 91.64 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.7126, allocations: 5.281 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.7126, allocations: 1.344 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.7127, allocations: 1.094 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.7127, allocations: 1.281 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.711e-05/0.7127, allocations: 121.7 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7127, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001858/0.7129, allocations: 7.469 kB / 0.9538 GB, free: 5.051 MB / 0.7169 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.0001049/0.713, allocations: 107.7 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.382e-05/0.7131, allocations: 15 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7131, allocations: 4 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.7132, allocations: 3.719 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.7133, allocations: 16.47 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.7136, allocations: 209.1 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.7138, allocations: 0.6919 MB / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.7138, allocations: 11.03 kB / 0.9548 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7138, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002173/0.716, allocations: 0.8641 MB / 0.9557 GB, free: 3.562 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches