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.001503/0.001503, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001795/0.001795, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.724/2.724, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 59.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7668, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002485/0.7694, allocations: 0.8897 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.7696, allocations: 39.78 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.7696, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.7697, allocations: 15.92 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.7698, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.563e-05/0.7699, allocations: 16 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.77, allocations: 59.84 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.7701, allocations: 39.97 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.7702, allocations: 35.78 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.7702, allocations: 23.86 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.7703, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.7703, allocations: 8 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.7703, allocations: 15.92 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.7704, allocations: 35.8 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.7705, allocations: 69.67 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7705, allocations: 0 / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7705, allocations: 7.938 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7705, allocations: 4 kB / 1.018 GB, free: 1.5 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.0004722/0.771, allocations: 379.1 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7711, allocations: 12.03 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.7711, allocations: 8.844 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.7713, allocations: 192.2 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7714, allocations: 4.375 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.7714, allocations: 12.38 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.7716, allocations: 91.86 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7716, allocations: 8.109 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7716, allocations: 7.938 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7716, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.7717, allocations: 35.98 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.7722, allocations: 432.7 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.922e-05/0.7723, allocations: 37.16 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.7723, allocations: 17.78 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.7723, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.7724, allocations: 46.48 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.7724, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.7726, allocations: 53.59 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.7726, allocations: 81.05 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.7728, allocations: 160.2 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.7728, allocations: 25.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.7729, allocations: 111.9 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.639e-06/0.7729, allocations: 12.14 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.7729, allocations: 21.72 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.773, allocations: 318.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.7731, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.7731, allocations: 21.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.7731, allocations: 21.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7731, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.626e-05/0.7732, allocations: 61.55 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7732, allocations: 6.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7732, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7733, allocations: 7.984 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.7733, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7733, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.7734, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.7734, allocations: 3.938 kB / 1.02 GB, free: 15.06 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 7.166e-05/0.7735, allocations: 117.9 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.7735, allocations: 15.75 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.7735, allocations: 19.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7735, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.7735, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7736, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.7739, allocations: 466.9 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7739, allocations: 4.062 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.774, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.774, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.774, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.774, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.774, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.995e-05/0.7741, allocations: 89.77 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.7741, allocations: 88.95 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.7742, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.7742, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.7742, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.7742, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.339e-05/0.7743, allocations: 124.9 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7743, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001838/0.7745, allocations: 8 kB / 1.021 GB, free: 14.01 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.000122/0.7746, allocations: 103.3 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.7747, allocations: 19.94 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7747, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.7747, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.7749, allocations: 17.75 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.7752, allocations: 179.1 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.7755, allocations: 0.6885 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.7755, allocations: 8.422 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.7755, allocations: 15.44 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7755, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002408/0.778, allocations: 452.4 kB / 1.022 GB, free: 12.47 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