Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001059/0.001065, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001229/0.001229, allocations: 172.7 kB / 15.95 MB, free: 208 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.581/1.581, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004056, allocations: 12 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.741, allocations: 153.8 MB / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001134/0.7422, allocations: 0.5277 MB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.7423, allocations: 43.78 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.7424, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.7424, allocations: 7.922 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.7425, allocations: 7.938 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.745e-05/0.7426, allocations: 15.98 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7427, allocations: 55.84 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.7428, allocations: 32.09 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.7429, allocations: 19.88 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.7429, allocations: 19.86 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.743, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.743, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.743, allocations: 19.91 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.743, allocations: 37.64 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.659e-05/0.7431, allocations: 43.89 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.7431, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7431, allocations: 4 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7431, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.7794 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.0004105/0.7436, allocations: 369.1 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7436, allocations: 15.97 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.7436, allocations: 7.906 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.7439, allocations: 183 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.7439, allocations: 8 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.7439, allocations: 8 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.7441, allocations: 103.2 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7441, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.7441, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7441, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.7442, allocations: 35.92 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.7448, allocations: 436.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.7448, allocations: 45.25 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.7449, allocations: 13.78 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.7449, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.7449, allocations: 38.56 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7449, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.7451, allocations: 61.48 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7451, allocations: 77.11 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.7453, allocations: 168 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.7453, allocations: 25.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.7454, allocations: 100 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.7454, allocations: 7.844 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.7454, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.7455, allocations: 319.1 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.7455, allocations: 15.98 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.7455, allocations: 13.72 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.7455, allocations: 11.94 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7456, allocations: 3.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.874e-05/0.7456, allocations: 61.59 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7457, allocations: 5.875 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.7457, allocations: 64 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7457, allocations: 7.953 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.7457, allocations: 11.94 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7458, allocations: 3.938 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.7458, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.7458, allocations: 4 kB / 1.025 GB, free: 12.96 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.818e-05/0.7459, allocations: 117.8 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.7459, allocations: 7.906 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.746, allocations: 11.86 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.746, allocations: 8 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.746, allocations: 3.953 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.746, allocations: 96 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.7464, allocations: 470.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7464, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.7464, allocations: 4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7464, allocations: 3.953 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.7464, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7464, allocations: 8.047 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7464, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.7465, allocations: 77.84 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.7466, allocations: 85 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.7466, allocations: 7.953 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.7466, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.7466, allocations: 4.031 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.7466, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.403e-05/0.7467, allocations: 122.1 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7467, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001895/0.7469, allocations: 11.94 kB / 1.026 GB, free: 11.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.0001209/0.7471, allocations: 95.25 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.7471, allocations: 23.92 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7472, allocations: 4.125 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.7472, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.7473, allocations: 8 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.7477, allocations: 182.6 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.748, allocations: 0.6926 MB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.748, allocations: 4.438 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.748, allocations: 11.44 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.748, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.002512/0.7506, allocations: 419.9 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches