Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.7 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.001161/0.001161, 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004237, allocations: 11.94 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.8734, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009829/0.8744, allocations: 0.5276 MB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.8745, allocations: 39.8 kB / 1.021 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.8746, allocations: 4 kB / 1.021 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.8746, allocations: 7.938 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.8747, allocations: 7.922 kB / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.828e-05/0.8747, allocations: 12 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.8748, allocations: 39.89 kB / 1.021 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.875, allocations: 32.14 kB / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.875, allocations: 19.88 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.8751, allocations: 19.86 kB / 1.021 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.8751, allocations: 0 / 1.021 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.8751, allocations: 4 kB / 1.021 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.8751, allocations: 15.91 kB / 1.022 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.8752, allocations: 37.64 kB / 1.022 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.471e-05/0.8753, allocations: 43.89 kB / 1.022 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.8753, allocations: 4 kB / 1.022 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8753, allocations: 0 / 1.022 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.8753, allocations: 0 / 1.022 GB, free: 328 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.0004263/0.8757, allocations: 365.1 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8758, allocations: 15.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.8758, allocations: 11.81 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.876, allocations: 186.9 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.876, allocations: 8 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.876, allocations: 8 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.8762, allocations: 99.23 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8762, allocations: 4 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8762, allocations: 7.938 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8762, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.089e-05/0.8763, allocations: 39.92 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.8768, allocations: 436.7 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.089e-05/0.8769, allocations: 41.31 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.8769, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.8769, allocations: 34.56 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8769, allocations: 0 / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001681/0.8771, allocations: 53.72 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.8772, allocations: 85.14 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.8773, allocations: 159.3 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.8773, allocations: 25.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.8774, allocations: 107.9 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.8774, allocations: 7.844 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.8774, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8775, allocations: 318.8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.8776, allocations: 8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.8776, allocations: 25.64 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.8776, allocations: 12 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8776, allocations: 3.938 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.705e-05/0.8777, allocations: 53.61 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.8777, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8777, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8777, allocations: 7.984 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.8778, allocations: 15.95 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8778, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.8779, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.8779, allocations: 0 / 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 7.847e-05/0.878, allocations: 113.8 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.878, allocations: 7.906 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.878, allocations: 15.86 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.878, allocations: 0 / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.878, allocations: 3.953 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.8781, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.8784, allocations: 466.7 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8784, allocations: 3.938 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.8785, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8785, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.8785, allocations: 7.953 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8785, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8785, allocations: 4.062 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.8786, allocations: 91.55 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.8787, allocations: 88.97 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8787, allocations: 3.984 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.8787, allocations: 4 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.8787, allocations: 12.03 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.8787, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.8788, allocations: 120.9 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8788, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001862/0.879, allocations: 11.94 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.000117/0.8792, allocations: 95.25 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.8792, allocations: 15.94 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8792, allocations: 4.125 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.8793, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.8794, allocations: 8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.8797, allocations: 182.7 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.88, allocations: 0.6965 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.8801, allocations: 8.469 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.8801, allocations: 15.42 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8801, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002588/0.8827, allocations: 411.9 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches