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.447/1.447, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.001267/0.001267, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.0008447/0.0008445, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.932e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7551/0.9745, allocations: 131.3 MB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.9748, allocations: 60.28 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002804/0.9776, allocations: 1.17 MB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9776, allocations: 4 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.9777, allocations: 0 / 1.021 GB, free: 2.23 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.0003243/0.978, allocations: 365.2 kB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.978, allocations: 12.03 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.9781, allocations: 7.906 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.9782, allocations: 179.6 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.9783, allocations: 11.42 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.9783, allocations: 7.5 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.9785, allocations: 89.81 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9785, allocations: 4 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9785, allocations: 3.5 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9785, allocations: 0 / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.9786, allocations: 40.81 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.9792, allocations: 467.8 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/0.9793, allocations: 39.84 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.9793, allocations: 17.09 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.9793, allocations: 0 / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.9793, allocations: 41.3 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.9794, allocations: 0 / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.9795, allocations: 52.17 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.9796, allocations: 81.11 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.9797, allocations: 153.1 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.9797, allocations: 25.7 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.9798, allocations: 117.6 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.9798, allocations: 7.969 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.9798, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.98, allocations: 321.6 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.98, allocations: 7.188 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.98, allocations: 17.66 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.9801, allocations: 11.94 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9801, allocations: 3.953 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.489e-05/0.9802, allocations: 69.34 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9802, allocations: 4 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.9802, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.9802, allocations: 7.938 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.9803, allocations: 4 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9803, allocations: 0 / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.9804, allocations: 12.03 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9804, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 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 6.728e-05/0.9804, allocations: 108.8 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.9805, allocations: 23.61 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.9805, allocations: 8.734 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9805, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9805, allocations: 3.938 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9806, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.9809, allocations: 480.5 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9809, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.981, allocations: 10.81 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.981, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.981, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.981, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.981, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.9811, allocations: 102.7 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.9812, allocations: 89 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.9812, allocations: 3.938 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.9812, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.9812, allocations: 4.094 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.9812, allocations: 3.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.9813, allocations: 122.4 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9813, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001599/0.9815, allocations: 8 kB / 1.024 GB, free: 14.97 MB / 0.6511 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.0001315/0.9816, allocations: 107.2 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.184e-05/0.9817, allocations: 23 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9817, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.9818, allocations: 4 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.9819, allocations: 15.7 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.9821, allocations: 103 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.9824, allocations: 0.7043 MB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.9824, allocations: 4.438 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.9824, allocations: 15.38 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9825, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.00225/0.9847, allocations: 463.1 kB / 1.026 GB, free: 13.52 MB / 0.6511 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