Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009992/0.0009992, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 8.938 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.386, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001108/0.3872, allocations: 0.5262 MB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.3873, allocations: 39.78 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.3873, allocations: 4 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.3874, allocations: 7.922 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.3875, allocations: 4 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.537e-05/0.3875, allocations: 11.98 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3876, allocations: 63.7 kB / 1.059 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3878, allocations: 32.16 kB / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3878, allocations: 15.88 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.3879, allocations: 19.86 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3879, allocations: 4 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.3879, allocations: 3.938 kB / 1.059 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.388, allocations: 11.92 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.388, allocations: 37.64 kB / 1.059 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.439e-05/0.3881, allocations: 47.88 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3881, allocations: 0 / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3881, allocations: 0 / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3881, allocations: 4 kB / 1.059 GB, free: 4.43 MB / 0.8106 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.0004365/0.3886, allocations: 367.4 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3886, allocations: 8.031 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3887, allocations: 11.91 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3889, allocations: 183 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3889, allocations: 8 kB / 1.059 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.389, allocations: 7.953 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3891, allocations: 99.23 kB / 1.059 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3892, allocations: 7.984 kB / 1.059 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3892, allocations: 0 / 1.059 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3892, allocations: 0 / 1.059 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.3893, allocations: 39.92 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.3898, allocations: 444.6 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.3899, allocations: 45.19 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.39, allocations: 21.84 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.39, allocations: 0 / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.39, allocations: 42.45 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.39, allocations: 0 / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.3902, allocations: 57.53 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3903, allocations: 77.11 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3904, allocations: 163.7 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3905, allocations: 25.7 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3905, allocations: 104 kB / 1.06 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.3906, allocations: 8.156 kB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.3906, allocations: 4 kB / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3907, allocations: 318.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3907, allocations: 11.92 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.3908, allocations: 17.72 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.3908, allocations: 7.938 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3908, allocations: 0 / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/0.3909, allocations: 61.59 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3909, allocations: 8 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3909, allocations: 3.953 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3909, allocations: 0 / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.391, allocations: 4 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.391, allocations: 7.938 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.3911, allocations: 7.844 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3911, allocations: 4 kB / 1.061 GB, free: 2.047 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.3911, allocations: 109.8 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.3912, allocations: 11.97 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3912, allocations: 15.86 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3912, allocations: 3.953 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3913, allocations: 4 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3913, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.3916, allocations: 462.8 kB / 1.061 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3916, allocations: 0 / 1.061 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.3917, allocations: 16.02 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3917, allocations: 3.984 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3917, allocations: 0 / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.3918, allocations: 73.84 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.3918, allocations: 89 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3919, allocations: 11.98 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3919, allocations: 4 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.3919, allocations: 0 / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.3919, allocations: 0 / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.392, allocations: 122.1 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 3.938 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001837/0.3922, allocations: 8 kB / 1.062 GB, free: 1.016 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.3923, allocations: 95.25 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.3924, allocations: 27.92 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3924, allocations: 3.938 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3924, allocations: 4 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3926, allocations: 4 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.393, allocations: 192.7 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3933, allocations: 0.6926 MB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3933, allocations: 12.41 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.3933, allocations: 15.44 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3933, allocations: 3.938 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.002589/0.3959, allocations: 424 kB / 1.063 GB, free: 15.48 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches