Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001117/0.001118, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01255/0.01255, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.606/2.606, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005804/0.0005805, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.972, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0009653/0.973, allocations: 0.5331 MB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000103/0.9731, allocations: 44.56 kB / 0.9556 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.9732, allocations: 1.406 kB / 0.9556 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.9732, allocations: 5.25 kB / 0.9556 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.9733, allocations: 3.938 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.532e-05/0.9733, allocations: 20.33 kB / 0.9556 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.9734, allocations: 54 kB / 0.9557 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.9736, allocations: 43.23 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.9736, allocations: 16.47 kB / 0.9557 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.9737, allocations: 23.61 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.9737, allocations: 1.812 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.9737, allocations: 2.062 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.9737, allocations: 5.812 kB / 0.9558 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.9738, allocations: 54.59 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.9739, allocations: 66.78 kB / 0.9559 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9739, allocations: 0 / 0.9559 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9739, allocations: 4.75 kB / 0.9559 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.9739, allocations: 0 / 0.9559 GB, free: 7.031 MB / 0.7169 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.0003403/0.9743, allocations: 365.6 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.9743, allocations: 10 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.9744, allocations: 12.25 kB / 0.9563 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.9745, allocations: 195 kB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.9746, allocations: 7.562 kB / 0.9565 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.9746, allocations: 5.625 kB / 0.9565 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.9747, allocations: 94.3 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9747, allocations: 4.188 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9748, allocations: 8.891 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.9748, allocations: 2.594 kB / 0.9566 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.9749, allocations: 39.48 kB / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.9753, allocations: 438.4 kB / 0.957 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.9754, allocations: 40.41 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.9754, allocations: 20.75 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.9754, allocations: 0 / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.9754, allocations: 39.86 kB / 0.9571 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9755, allocations: 0 / 0.9571 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.9756, allocations: 59.3 kB / 0.9572 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9757, allocations: 78.2 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.9758, allocations: 172.4 kB / 0.9574 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.9758, allocations: 25.7 kB / 0.9574 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.9759, allocations: 108.9 kB / 0.9575 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.9759, allocations: 8.969 kB / 0.9576 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.9759, allocations: 10.84 kB / 0.9576 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.976, allocations: 321.1 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.976, allocations: 3.375 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.976, allocations: 18.5 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.9761, allocations: 30.48 kB / 0.9579 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9761, allocations: 0 / 0.9579 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.153e-05/0.9761, allocations: 59.23 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.9762, allocations: 5.844 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9762, allocations: 3.938 kB / 0.958 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9762, allocations: 0.7812 kB / 0.958 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.9763, allocations: 9.859 kB / 0.958 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9763, allocations: 1.125 kB / 0.958 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.9763, allocations: 6.062 kB / 0.958 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.9763, allocations: 1.219 kB / 0.958 GB, free: 4.871 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.9764, allocations: 121.2 kB / 0.9581 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.9764, allocations: 8.25 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.9764, allocations: 14.84 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.9765, allocations: 4.922 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9765, allocations: 0 / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9765, allocations: 5.078 kB / 0.9582 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.9767, allocations: 470.1 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9767, allocations: 1.219 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.9768, allocations: 3.438 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9768, allocations: 0 / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.9768, allocations: 1.156 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9768, allocations: 1.438 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.9768, allocations: 0 / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.319e-05/0.9769, allocations: 87.05 kB / 0.9587 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.9769, allocations: 87.17 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.9769, allocations: 1.031 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.9769, allocations: 1 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.977, allocations: 16.95 kB / 0.9588 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.977, allocations: 1.312 kB / 0.9588 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.977, allocations: 120.1 kB / 0.9589 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.977, allocations: 0 / 0.9589 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001862/0.9772, allocations: 11.03 kB / 0.9589 GB, free: 3.914 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001003/0.9773, allocations: 100.4 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.9774, allocations: 13.91 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9774, allocations: 1.094 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.9774, allocations: 7.406 kB / 0.959 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.9776, allocations: 11.28 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.9779, allocations: 184.7 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.9781, allocations: 0.6916 MB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.9781, allocations: 11.89 kB / 0.9599 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.9781, allocations: 12.03 kB / 0.9599 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.9781, allocations: 0 / 0.9599 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.002563/0.9807, allocations: 426.2 kB / 0.9603 GB, free: 2.691 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches