Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000929/0.000929, allocations: 180.9 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008094/0.0008093, allocations: 86.22 kB / 0.6714 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.362e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2359, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8212/1.057, allocations: 131.6 MB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.057, allocations: 66.84 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002736/1.06, allocations: 1.159 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/1.06, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.06, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 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.0004144/1.061, allocations: 366.1 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.312e-05/1.061, allocations: 12.03 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/1.061, allocations: 7.906 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/1.061, allocations: 189.4 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.061, allocations: 0 / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/1.061, allocations: 29.06 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/1.061, allocations: 82.78 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.061, allocations: 3.984 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.061, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.061, allocations: 4 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/1.062, allocations: 418.2 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/1.062, allocations: 39.16 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/1.062, allocations: 13.34 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/1.062, allocations: 4.062 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/1.062, allocations: 34.73 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.062, allocations: 4 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000168/1.062, allocations: 52.72 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.062, allocations: 77.11 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/1.063, allocations: 123.7 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/1.063, allocations: 25.7 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/1.063, allocations: 110 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/1.063, allocations: 10.72 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.063, allocations: 64 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.063, allocations: 322.1 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/1.063, allocations: 7.75 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/1.063, allocations: 19.69 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/1.063, allocations: 8 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.063, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.384e-05/1.063, allocations: 60.14 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.063, allocations: 9.781 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.063, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.063, allocations: 0.75 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/1.063, allocations: 4 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.063, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/1.063, allocations: 11.84 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/1.063, allocations: 0 / 1.017 GB, free: 2.996 MB / 0.6355 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 () * 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.429e-05/1.063, allocations: 104.9 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/1.063, allocations: 11.94 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/1.063, allocations: 19.86 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/1.063, allocations: 4.156 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.063, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.063, allocations: 3.938 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/1.064, allocations: 450 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.064, allocations: 4 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/1.064, allocations: 3.938 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.064, allocations: 8.062 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.064, allocations: 0 / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.064, allocations: 1.125 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.064, allocations: 0 / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/1.064, allocations: 90.5 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/1.064, allocations: 88.34 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/1.064, allocations: 4.031 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/1.064, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/1.064, allocations: 4.094 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/1.064, allocations: 3.984 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.999e-05/1.064, allocations: 108.4 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001677/1.064, allocations: 8 kB / 1.018 GB, free: 2.035 MB / 0.6355 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 () * 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.0001306/1.065, allocations: 99.19 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/1.065, allocations: 21.69 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.065, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/1.065, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/1.065, allocations: 7.203 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/1.065, allocations: 108.7 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.065, allocations: 0.7004 MB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.061e-05/1.065, allocations: 8.172 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/1.065, allocations: 11.44 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/1.065, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of Templates: time 0.002266/1.068, allocations: 333.8 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches