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.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.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.001147/0.001147, allocations: 106.7 kB / 15.99 MB, free: 5.91 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.001081/0.001081, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.21 MB / 206.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.261/2.261, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 65.31 kB / 0.8127 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002598/0.2863, allocations: 0.8785 MB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.2865, allocations: 43.78 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.2866, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.2866, allocations: 3.938 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2868, allocations: 15.86 kB / 0.9507 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.241e-05/0.2868, allocations: 16 kB / 0.9507 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.287, allocations: 59.84 kB / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2871, allocations: 39.95 kB / 0.9508 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.2872, allocations: 31.86 kB / 0.9508 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2873, allocations: 31.8 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2873, allocations: 4 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.2873, allocations: 8 kB / 0.9509 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.2873, allocations: 15.92 kB / 0.9509 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.2874, allocations: 31.81 kB / 0.9509 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2875, allocations: 52.17 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2875, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2875, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.2875, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 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.0004805/0.288, allocations: 387.1 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2881, allocations: 8.031 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.2881, allocations: 8.844 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2884, allocations: 196.1 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2884, allocations: 8.359 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2884, allocations: 12.36 kB / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2886, allocations: 99.8 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2886, allocations: 4.188 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2886, allocations: 7.938 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2887, allocations: 0 / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.2887, allocations: 35.98 kB / 0.9517 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.2893, allocations: 428.6 kB / 0.9521 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.2894, allocations: 45.14 kB / 0.9522 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.2895, allocations: 17.84 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.2895, allocations: 0 / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2895, allocations: 38.59 kB / 0.9522 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 3.617e-06/0.2895, allocations: 4 kB / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.2897, allocations: 57.48 kB / 0.9523 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.2898, allocations: 81.09 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.29, allocations: 163.6 kB / 0.9525 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.29, allocations: 25.7 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.2901, allocations: 104 kB / 0.9526 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.2901, allocations: 7.891 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.2902, allocations: 21.95 kB / 0.9527 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2903, allocations: 322.8 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.2903, allocations: 11.92 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.2904, allocations: 17.72 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.2904, allocations: 25.66 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2904, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.732e-05/0.2905, allocations: 61.59 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2905, allocations: 8 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2905, allocations: 3.938 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2905, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.2906, allocations: 4 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2906, allocations: 7.938 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.2907, allocations: 11.78 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2907, allocations: 4 kB / 0.9531 GB, free: 5.535 MB / 0.7325 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.878e-05/0.2908, allocations: 109.8 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2908, allocations: 15.97 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2909, allocations: 15.8 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2909, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2909, allocations: 4 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2909, allocations: 0 / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.2913, allocations: 470.8 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2913, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.2913, allocations: 8.062 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2914, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2914, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2914, allocations: 3.984 kB / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2914, allocations: 0 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2915, allocations: 85.78 kB / 0.9538 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.2915, allocations: 85 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2916, allocations: 8.031 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.2916, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.2916, allocations: 4 kB / 0.9539 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2916, allocations: 0 / 0.9539 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2917, allocations: 122.5 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2917, allocations: 0 / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001919/0.2919, allocations: 8 kB / 0.954 GB, free: 4.504 MB / 0.7325 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.0001158/0.2921, allocations: 99.25 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.2922, allocations: 23.92 kB / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2922, allocations: 0 / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.2922, allocations: 4 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.2923, allocations: 14.47 kB / 0.9541 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.2927, allocations: 208.8 kB / 0.9543 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.293, allocations: 0.7039 MB / 0.955 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.2931, allocations: 15.38 kB / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.2931, allocations: 0 / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of Templates: time 0.002313/0.2954, allocations: 0.8677 MB / 0.9559 GB, free: 2.5 MB / 0.7325 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