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.001686/0.001686, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001635/0.001635, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.308/2.308, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 71.88 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001976/1.077, allocations: 0.8314 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001121/1.077, allocations: 37.34 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/1.077, allocations: 1.25 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/1.077, allocations: 9.141 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-05/1.077, allocations: 10.28 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.942e-05/1.078, allocations: 23.94 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/1.078, allocations: 62.81 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/1.078, allocations: 37.64 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/1.078, allocations: 26.72 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/1.078, allocations: 34.02 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/1.078, allocations: 10.06 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/1.078, allocations: 6.25 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/1.078, allocations: 16.69 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/1.078, allocations: 32.39 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/1.078, allocations: 71.3 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.078, allocations: 5 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/1.078, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.078, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 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.0003389/1.079, allocations: 374.5 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.079, allocations: 13.06 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/1.079, allocations: 14.52 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.079, allocations: 192.8 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.079, allocations: 3.406 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.079, allocations: 8.969 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.079, allocations: 94.53 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.079, allocations: 4.188 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.079, allocations: 5.281 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.079, allocations: 7.172 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/1.079, allocations: 35.17 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/1.08, allocations: 437.9 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/1.08, allocations: 45.58 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/1.08, allocations: 20.95 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/1.08, allocations: 0.75 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/1.08, allocations: 40 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.08, allocations: 0.875 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/1.08, allocations: 56.86 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/1.08, allocations: 81.97 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/1.08, allocations: 160.8 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/1.08, allocations: 25.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/1.08, allocations: 104.3 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/1.08, allocations: 5.766 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/1.08, allocations: 18.52 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/1.08, allocations: 320.1 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/1.08, allocations: 3.266 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/1.08, allocations: 27.59 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/1.08, allocations: 26.98 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.08, allocations: 0.75 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.265e-05/1.08, allocations: 57.81 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.08, allocations: 5.406 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.08, allocations: 8.797 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.08, allocations: 5.75 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/1.08, allocations: 9.938 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.081, allocations: 5.062 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/1.081, allocations: 6.094 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/1.081, allocations: 1.609 kB / 1.092 GB, free: 2.684 MB / 0.8575 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.207e-05/1.081, allocations: 113.9 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/1.081, allocations: 8.75 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/1.081, allocations: 16.12 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.081, allocations: 1.156 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.081, allocations: 5.406 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.081, allocations: 0.7969 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/1.081, allocations: 466.5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.081, allocations: 1.5 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/1.081, allocations: 3.203 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.081, allocations: 1.469 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/1.081, allocations: 4.734 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.081, allocations: 6.062 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.081, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/1.081, allocations: 85.06 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/1.081, allocations: 89.58 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/1.081, allocations: 1.766 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/1.081, allocations: 5.219 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/1.081, allocations: 10.05 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/1.081, allocations: 1.531 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.897e-05/1.081, allocations: 119.5 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.081, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001939/1.082, allocations: 7.031 kB / 1.093 GB, free: 1.766 MB / 0.8575 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.0001083/1.082, allocations: 98.42 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.433e-05/1.082, allocations: 24.97 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.082, allocations: 4.125 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/1.082, allocations: 4.188 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.082, allocations: 14.09 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/1.082, allocations: 191.1 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/1.082, allocations: 0.6919 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/1.083, allocations: 15.88 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.083, allocations: 3.938 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002805/1.085, allocations: 0.8564 MB / 1.095 GB, free: 16.69 MB / 0.8731 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/jenkins1/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