Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.86 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.001425/0.001425, allocations: 177.3 kB / 15.94 MB, free: 228 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.438/1.438, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006704, allocations: 11.98 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8869, allocations: 153.7 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001427/0.8884, allocations: 0.5238 MB / 1.021 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.8885, allocations: 43.78 kB / 1.021 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.8886, allocations: 4 kB / 1.021 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.8886, allocations: 3.938 kB / 1.021 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.8887, allocations: 3.984 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.552e-05/0.8888, allocations: 16 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.8889, allocations: 35.91 kB / 1.021 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.8891, allocations: 40.12 kB / 1.021 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.8892, allocations: 11.88 kB / 1.021 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.8893, allocations: 19.86 kB / 1.021 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.8893, allocations: 4 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.8893, allocations: 4 kB / 1.021 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.8893, allocations: 7.922 kB / 1.022 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.8894, allocations: 33.7 kB / 1.022 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.8895, allocations: 55.88 kB / 1.022 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8895, allocations: 0 / 1.022 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd: time 4.047e-06/0.8895, allocations: 0 / 1.022 GB, free: 352 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8895, allocations: 0 / 1.022 GB, free: 352 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.0005797/0.8901, allocations: 365.1 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8902, allocations: 19.92 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.8902, allocations: 11.81 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.8905, allocations: 190.9 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.8905, allocations: 4 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.8905, allocations: 12 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.8907, allocations: 97.38 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8907, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.8907, allocations: 4 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8908, allocations: 11.94 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.398e-05/0.8908, allocations: 27.98 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.8915, allocations: 444.6 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.8916, allocations: 37.22 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.8916, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.8916, allocations: 38.59 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8916, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001987/0.8918, allocations: 49.62 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.8919, allocations: 89.03 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.8921, allocations: 160.1 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.8921, allocations: 29.7 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.8922, allocations: 103.9 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.8922, allocations: 7.844 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8922, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.8924, allocations: 322.8 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.8925, allocations: 4 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.8925, allocations: 25.69 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.8925, allocations: 12 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8926, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.168e-05/0.8926, allocations: 57.55 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8927, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8927, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8927, allocations: 3.984 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.8928, allocations: 7.953 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.8928, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.8928, allocations: 4.062 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.8928, allocations: 4 kB / 1.024 GB, free: 14 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 0.0001222/0.893, allocations: 113.8 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.893, allocations: 7.906 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.8931, allocations: 15.86 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8931, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8931, allocations: 3.953 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8931, allocations: 11.88 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.8936, allocations: 462.8 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8936, allocations: 4 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.8936, allocations: 7.875 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.8936, allocations: 4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.8936, allocations: 3.953 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.8936, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8936, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.8938, allocations: 91.67 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.8939, allocations: 88.97 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.8939, allocations: 7.984 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.8939, allocations: 0 / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.8939, allocations: 8 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.894, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000121/0.8941, allocations: 129.9 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8941, allocations: 0 / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001883/0.8943, allocations: 11.94 kB / 1.025 GB, free: 12.93 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.0001572/0.8944, allocations: 95.25 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.739e-05/0.8945, allocations: 12 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8946, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.8946, allocations: 7.938 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.8947, allocations: 8.25 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.8951, allocations: 182.5 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.8954, allocations: 0.7004 MB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.8955, allocations: 8.422 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.8955, allocations: 11.44 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8955, allocations: 0 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.002908/0.8984, allocations: 411.9 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches