Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.00104/0.00104, allocations: 89.97 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.009364/0.009364, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.636/2.636, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8664, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001042/0.8675, allocations: 0.5372 MB / 0.9556 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.8676, allocations: 41.38 kB / 0.9556 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.8677, allocations: 1.25 kB / 0.9556 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.8677, allocations: 5.531 kB / 0.9556 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.8678, allocations: 3.938 kB / 0.9556 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.8679, allocations: 18.8 kB / 0.9556 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.868, allocations: 55.19 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.8682, allocations: 50.7 kB / 0.9557 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.8682, allocations: 13.16 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.8683, allocations: 20.36 kB / 0.9558 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.8683, allocations: 5.156 kB / 0.9558 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.8683, allocations: 6.406 kB / 0.9558 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.8684, allocations: 10.36 kB / 0.9558 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.8684, allocations: 54.33 kB / 0.9558 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.8685, allocations: 62.47 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8685, allocations: 0 / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8685, allocations: 1.094 kB / 0.9559 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8685, allocations: 0 / 0.9559 GB, free: 7 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.0003824/0.8689, allocations: 365.7 kB / 0.9562 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.869, allocations: 12.66 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.869, allocations: 18.25 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.8692, allocations: 190.1 kB / 0.9565 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.8693, allocations: 7.5 kB / 0.9565 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.8693, allocations: 5 kB / 0.9565 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.8695, allocations: 94.25 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8695, allocations: 5.281 kB / 0.9566 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8695, allocations: 4.906 kB / 0.9566 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.8695, allocations: 6.125 kB / 0.9566 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.8696, allocations: 39.67 kB / 0.9566 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.8701, allocations: 433.6 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.8702, allocations: 45.34 kB / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.8702, allocations: 23.23 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.8702, allocations: 0.9062 kB / 0.9571 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.8703, allocations: 31.5 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8703, allocations: 0 / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/0.8705, allocations: 59.61 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.8705, allocations: 78.36 kB / 0.9573 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.8707, allocations: 164.7 kB / 0.9574 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.8707, allocations: 25.7 kB / 0.9574 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.8708, allocations: 104.5 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.8708, allocations: 8.812 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.8708, allocations: 10.75 kB / 0.9576 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.8709, allocations: 321 kB / 0.9579 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.8709, allocations: 7.781 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.8709, allocations: 26.77 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.871, allocations: 22.22 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.871, allocations: 3.938 kB / 0.9579 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.133e-05/0.8711, allocations: 59.39 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8711, allocations: 5.438 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8711, allocations: 9.062 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8711, allocations: 3.984 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.8712, allocations: 5.969 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8712, allocations: 5.078 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.8712, allocations: 5.938 kB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.8713, allocations: 1.125 kB / 0.958 GB, free: 4.836 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 6.498e-05/0.8713, allocations: 113.1 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.8714, allocations: 8.75 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.8714, allocations: 18.11 kB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.8714, allocations: 5.188 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8714, allocations: 1.219 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8714, allocations: 3.938 kB / 0.9582 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.8717, allocations: 466.9 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8718, allocations: 0 / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.8718, allocations: 3.375 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8718, allocations: 4.969 kB / 0.9586 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.8718, allocations: 5.094 kB / 0.9586 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8718, allocations: 0 / 0.9586 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8718, allocations: 1.094 kB / 0.9586 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.279e-05/0.8719, allocations: 82.86 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.8719, allocations: 87.23 kB / 0.9588 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.8719, allocations: 5.078 kB / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.872, allocations: 1.031 kB / 0.9588 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.872, allocations: 5.344 kB / 0.9588 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.872, allocations: 13.14 kB / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.792e-05/0.8721, allocations: 120.8 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8721, allocations: 0 / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001898/0.8723, allocations: 7.062 kB / 0.9589 GB, free: 3.883 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.0001096/0.8724, allocations: 100.8 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.8725, allocations: 18.66 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8725, allocations: 0 / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.8725, allocations: 8.188 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.8727, allocations: 14.8 kB / 0.9591 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.8731, allocations: 182.9 kB / 0.9592 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.8732, allocations: 0.6907 MB / 0.9599 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.8733, allocations: 8.922 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.8733, allocations: 11.97 kB / 0.9599 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8733, allocations: 3.938 kB / 0.9599 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.002886/0.8762, allocations: 424.9 kB / 0.9603 GB, free: 2.656 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches