Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001091/0.001091, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004604, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.7622, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001104/0.7634, allocations: 0.5354 MB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.7635, allocations: 43.78 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.7636, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.7636, allocations: 3.938 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.7637, allocations: 7.922 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.496e-05/0.7638, allocations: 20 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.7639, allocations: 55.84 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.7641, allocations: 39.95 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.7641, allocations: 19.86 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.7642, allocations: 23.81 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.7642, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.7642, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.7643, allocations: 7.922 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.7643, allocations: 53.52 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.7644, allocations: 49.84 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7644, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7644, allocations: 3.938 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7645, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 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.0004438/0.7649, allocations: 379.2 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.765, allocations: 8.031 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.765, allocations: 8.844 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.7652, allocations: 192.2 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.7653, allocations: 4.375 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.7653, allocations: 8.375 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.7655, allocations: 91.94 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7655, allocations: 7.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.7655, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.7655, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.7656, allocations: 39.92 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.7662, allocations: 432.6 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.7663, allocations: 45.25 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.7663, allocations: 17.72 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.7663, allocations: 3.984 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.7664, allocations: 34.56 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.7664, allocations: 4 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.7666, allocations: 57.48 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.7666, allocations: 77.11 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.7668, allocations: 164.7 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.7668, allocations: 25.7 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.7669, allocations: 108 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.7669, allocations: 7.906 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.7669, allocations: 13.72 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.767, allocations: 319.1 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.7671, allocations: 11.94 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.7671, allocations: 21.7 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.7672, allocations: 25.72 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7672, allocations: 0 / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.889e-05/0.7673, allocations: 57.55 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7673, allocations: 17.81 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.7673, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7673, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.7674, allocations: 7.984 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.7674, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.7675, allocations: 7.906 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.7675, allocations: 0 / 1.027 GB, free: 12.59 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 8.525e-05/0.7676, allocations: 113.8 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.7676, allocations: 11.84 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.7676, allocations: 15.86 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7677, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7677, allocations: 4 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7677, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.7681, allocations: 470.8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7681, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.7681, allocations: 8.031 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.7681, allocations: 8.047 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.7681, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7681, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7681, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.7682, allocations: 81.83 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.7683, allocations: 88.95 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7683, allocations: 3.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.7683, allocations: 4.031 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.7684, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.7684, allocations: 3.938 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.7685, allocations: 120.7 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.174e-06/0.7685, allocations: 0 / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001967/0.7687, allocations: 15.94 kB / 1.028 GB, free: 11.54 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.0001302/0.7688, allocations: 99.23 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.331e-05/0.7689, allocations: 20 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7689, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.7689, allocations: 7.938 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.7691, allocations: 14.75 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.7695, allocations: 214.4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.7697, allocations: 0.6887 MB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.7698, allocations: 11.44 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7698, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002388/0.7722, allocations: 0.8481 MB / 1.029 GB, free: 9.566 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches