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.001794/0.001794, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001609/0.001609, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 64.05 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3849, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002356/0.3873, allocations: 0.8409 MB / 1.028 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001099/0.3875, allocations: 39.78 kB / 1.028 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.3875, allocations: 4 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.3876, allocations: 11.86 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.3877, allocations: 7.875 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.561e-05/0.3877, allocations: 19.98 kB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3879, allocations: 59.84 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.388, allocations: 55.88 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.3881, allocations: 19.88 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.3882, allocations: 31.78 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3882, allocations: 8 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3882, allocations: 8 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.3882, allocations: 15.94 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.3883, allocations: 35.8 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3884, allocations: 75.64 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3884, allocations: 0 / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3884, allocations: 0 / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3884, allocations: 0 / 1.028 GB, free: 0.8945 MB / 0.795 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.0004576/0.3889, allocations: 375.2 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3889, allocations: 12.03 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.389, allocations: 12.84 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3892, allocations: 188.2 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3892, allocations: 16.16 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.3892, allocations: 8.375 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3894, allocations: 91.95 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3894, allocations: 192 / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3894, allocations: 3.938 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3894, allocations: 7.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.3895, allocations: 35.92 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3901, allocations: 440.6 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.3902, allocations: 45.17 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.3902, allocations: 21.84 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3902, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3903, allocations: 34.56 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3903, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.3904, allocations: 57.48 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3905, allocations: 81.09 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3907, allocations: 159.5 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3907, allocations: 29.7 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3908, allocations: 104 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.3908, allocations: 3.906 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3908, allocations: 21.7 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3909, allocations: 318.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.391, allocations: 7.984 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-05/0.391, allocations: 21.66 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.391, allocations: 25.72 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3911, allocations: 0 / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.495e-05/0.3912, allocations: 65.53 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3912, allocations: 6.188 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3912, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3912, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.3913, allocations: 8 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3913, allocations: 4.062 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.3913, allocations: 7.844 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.3913, allocations: 4 kB / 1.03 GB, free: 14.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.3914, allocations: 117.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3915, allocations: 11.89 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.3915, allocations: 11.81 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3915, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3915, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3915, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.3919, allocations: 470.8 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.392, allocations: 7.875 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.392, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.392, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.392, allocations: 3.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.392, allocations: 3.984 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.392, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.995e-05/0.3921, allocations: 81.91 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.3922, allocations: 89.09 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3922, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.3922, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3922, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3923, allocations: 8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.271e-05/0.3924, allocations: 125.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3924, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001933/0.3926, allocations: 4 kB / 1.031 GB, free: 13.41 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 (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.000151/0.3927, allocations: 103.2 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.3928, allocations: 15.98 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3928, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.3928, allocations: 7.938 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.393, allocations: 16.19 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.3934, allocations: 158.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3937, allocations: 0.6924 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.226e-05/0.3937, allocations: 8.438 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3937, allocations: 11.44 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3937, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.002658/0.3964, allocations: 456.5 kB / 1.032 GB, free: 11.88 MB / 0.8106 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 -s cvode -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/jenkins1/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