Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001316/0.001316, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001305/0.001305, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 68.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8854, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002453/0.8879, allocations: 0.8266 MB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.8881, allocations: 47.78 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.8881, allocations: 4 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.8882, allocations: 7.875 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.8883, allocations: 11.86 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.035e-05/0.8884, allocations: 19.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.8885, allocations: 59.84 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.8887, allocations: 43.97 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.8887, allocations: 27.86 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.8888, allocations: 27.8 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.8888, allocations: 8 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.8888, allocations: 4 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.8889, allocations: 23.92 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.8889, allocations: 35.8 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.889, allocations: 67.7 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8891, allocations: 4 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8891, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8891, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 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.0004533/0.8895, allocations: 384.8 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.8896, allocations: 12.62 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.8896, allocations: 16.72 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.8899, allocations: 192.2 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.8899, allocations: 4.375 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.8899, allocations: 8.375 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.8901, allocations: 101 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8901, allocations: 4.172 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8901, allocations: 3.938 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.8901, allocations: 4 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.8902, allocations: 31.98 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.8908, allocations: 440.5 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.8908, allocations: 41.16 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.8909, allocations: 17.84 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.8909, allocations: 4 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.8909, allocations: 50.56 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.891, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.8911, allocations: 57.48 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.8912, allocations: 77.11 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.8913, allocations: 160.9 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.8914, allocations: 25.95 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.8914, allocations: 108 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.8914, allocations: 3.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.8915, allocations: 17.72 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8916, allocations: 322.8 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.8916, allocations: 4 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.8917, allocations: 21.7 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.8917, allocations: 29.66 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8917, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.156e-05/0.8918, allocations: 57.61 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.8918, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8918, allocations: 3.938 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8919, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.8919, allocations: 11.98 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.892, allocations: 7.875 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.892, allocations: 7.969 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.892, allocations: 4 kB / 1.171 GB, free: 192 kB / 0.8887 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 9.118e-05/0.8921, allocations: 113.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.8921, allocations: 7.906 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.8922, allocations: 15.8 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8922, allocations: 4 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8922, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8922, allocations: 3.938 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.8926, allocations: 470.8 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8926, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.8926, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8926, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.8926, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8927, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8927, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.8927, allocations: 89.83 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.8928, allocations: 88.95 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.8928, allocations: 3.984 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.8929, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8929, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.8929, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.893, allocations: 122.9 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.893, allocations: 4.031 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001844/0.8932, allocations: 7.906 kB / 1.172 GB, free: 15.14 MB / 0.9044 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.0001274/0.8933, allocations: 99.25 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.506e-05/0.8934, allocations: 15.94 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8934, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.8934, allocations: 8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.8936, allocations: 12.17 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.894, allocations: 188.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.8943, allocations: 0.6963 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.8943, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 1.124e-05/0.8943, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002225/0.8966, allocations: 0.8678 MB / 1.173 GB, free: 13.17 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches