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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002014/0.002014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002135/0.002135, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.86/2.86, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003083/0.003083, allocations: 63.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7739, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002667/0.7766, allocations: 0.8858 MB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.7768, allocations: 39.84 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.7768, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.7769, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.777, allocations: 3.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.485e-05/0.7771, allocations: 15.98 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.7772, allocations: 59.84 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.7774, allocations: 47.91 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.7774, allocations: 19.88 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.7775, allocations: 27.84 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.7775, allocations: 7.938 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.7775, allocations: 4 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.7775, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.7776, allocations: 43.72 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.7777, allocations: 61.75 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7777, allocations: 3.938 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7777, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7777, allocations: 0 / 1.018 GB, free: 1.562 MB / 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.0005254/0.7783, allocations: 387.2 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7783, allocations: 8.031 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.7784, allocations: 12.84 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.7786, allocations: 200.1 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.7786, allocations: 4.375 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.7787, allocations: 8.375 kB / 1.018 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.7789, allocations: 97.67 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7789, allocations: 4.172 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7789, allocations: 7.938 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7789, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.779, allocations: 35.98 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.7796, allocations: 436.6 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.021e-05/0.7797, allocations: 41.14 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.7797, allocations: 21.84 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.7797, allocations: 0 / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.7797, allocations: 38.59 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.7798, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.7799, allocations: 61.39 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.78, allocations: 81.09 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.7802, allocations: 164.5 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.7802, allocations: 29.69 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.7803, allocations: 99.98 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.7803, allocations: 7.891 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.7804, allocations: 17.72 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7806, allocations: 318.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.7806, allocations: 7.984 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.7806, allocations: 17.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.7807, allocations: 29.66 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7807, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.816e-05/0.7808, allocations: 61.59 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7808, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7808, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7808, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.7809, allocations: 11.94 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.7809, allocations: 4.062 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.781, allocations: 3.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.781, allocations: 7.938 kB / 1.02 GB, free: 15.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.7811, allocations: 118.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.7811, allocations: 11.89 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.7812, allocations: 11.81 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7812, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7812, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.7812, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.7816, allocations: 470.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7817, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.7817, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7817, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.7817, allocations: 3.984 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7817, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7817, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.7818, allocations: 85.84 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.7819, allocations: 88.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.7819, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.7819, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.782, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.782, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001051/0.7821, allocations: 125.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7821, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001794/0.7823, allocations: 4 kB / 1.021 GB, free: 14.07 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 (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.0001409/0.7824, allocations: 99.25 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7825, allocations: 19.92 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7825, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.7826, allocations: 4.188 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.7827, allocations: 18.67 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.7831, allocations: 180.5 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7834, allocations: 0.7004 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.7835, allocations: 8.516 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.7835, allocations: 11.44 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.265e-06/0.7835, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002837/0.7864, allocations: 432.5 kB / 1.022 GB, free: 12.54 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=400 -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