Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001214/0.001214, allocations: 100 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005474, allocations: 11.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7982, allocations: 153.7 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001033/0.7993, allocations: 0.52 MB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.7994, allocations: 47.8 kB / 1.021 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.7995, allocations: 0 / 1.021 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.7995, allocations: 3.938 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.7996, allocations: 3.984 kB / 1.021 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.751e-05/0.7996, allocations: 15.98 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.732e-05/0.7997, allocations: 35.91 kB / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.7998, allocations: 40.14 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.7999, allocations: 15.88 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.8, allocations: 19.84 kB / 1.021 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8, allocations: 4 kB / 1.022 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.8, allocations: 0 / 1.022 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.8, allocations: 11.94 kB / 1.022 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.8, allocations: 37.64 kB / 1.022 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.8001, allocations: 47.88 kB / 1.022 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.8001, allocations: 0 / 1.022 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8001, allocations: 4 kB / 1.022 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.8001, allocations: 4 kB / 1.022 GB, free: 324 kB / 0.7637 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.000408/0.8006, allocations: 365.1 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8006, allocations: 15.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.8006, allocations: 11.81 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.8009, allocations: 187 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.8009, allocations: 4 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.8009, allocations: 8 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.8011, allocations: 104.9 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.8011, allocations: 4 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8011, allocations: 3.938 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8011, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.8012, allocations: 39.92 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.8018, allocations: 428.7 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.8019, allocations: 49.11 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.8019, allocations: 4.125 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.802, allocations: 34.56 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.802, allocations: 4 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.8022, allocations: 53.5 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.8022, allocations: 77.11 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.8024, allocations: 163.9 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.8025, allocations: 25.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.8025, allocations: 103.9 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.8026, allocations: 15.84 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.8026, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.8027, allocations: 323.1 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.8028, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.8028, allocations: 17.72 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.8028, allocations: 11.98 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8028, allocations: 4 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.923e-05/0.8029, allocations: 53.55 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8029, allocations: 4.062 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8029, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.803, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.803, allocations: 11.94 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.803, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.8031, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.8031, allocations: 3.938 kB / 1.024 GB, free: 13.97 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.8032, allocations: 113.8 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.8032, allocations: 11.98 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8033, allocations: 15.88 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8033, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8033, allocations: 3.953 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.8033, allocations: 3.984 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.8037, allocations: 474.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8037, allocations: 3.938 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.8037, allocations: 4 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8037, allocations: 64 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8038, allocations: 7.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8038, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8038, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.8039, allocations: 87.55 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.804, allocations: 92.97 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.804, allocations: 4.031 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.909e-05/0.804, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.804, allocations: 7.984 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-06/0.804, allocations: 3.938 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.8041, allocations: 121.9 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8041, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001886/0.8043, allocations: 7.938 kB / 1.025 GB, free: 12.91 MB / 0.7794 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 (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.0001553/0.8045, allocations: 103.2 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.8046, allocations: 15.94 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8046, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.8046, allocations: 8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.8047, allocations: 8 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.8052, allocations: 180.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.8055, allocations: 0.6965 MB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.8055, allocations: 8.422 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.8055, allocations: 15.44 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8056, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002636/0.8082, allocations: 419.9 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches