Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001456/0.001456, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001465/0.001465, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 73.39 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002139/0.2993, allocations: 0.8843 MB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.2994, allocations: 43.8 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.2995, allocations: 4 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.2995, allocations: 7.922 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.2996, allocations: 3.984 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.706e-05/0.2996, allocations: 12 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2998, allocations: 67.78 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2999, allocations: 39.97 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2999, allocations: 27.86 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.3, allocations: 23.86 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3, allocations: 4 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3, allocations: 8 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3001, allocations: 15.92 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3001, allocations: 31.75 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.3002, allocations: 56.17 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3002, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3002, allocations: 7.938 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.3002, allocations: 3.984 kB / 1.065 GB, free: 13.84 MB / 0.8419 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.0004324/0.3007, allocations: 379.2 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3007, allocations: 8.031 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.3007, allocations: 12.75 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3009, allocations: 196.1 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.301, allocations: 8.375 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.301, allocations: 4.375 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3011, allocations: 95.89 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3012, allocations: 4.188 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3012, allocations: 7.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3012, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.3013, allocations: 31.98 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3018, allocations: 444.5 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.3019, allocations: 37.14 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3019, allocations: 21.84 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.302, allocations: 4.031 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.302, allocations: 34.56 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.302, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.3022, allocations: 61.47 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3022, allocations: 77.11 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3024, allocations: 164.5 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3024, allocations: 25.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.3025, allocations: 104 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.3025, allocations: 16.08 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.3025, allocations: 17.72 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3027, allocations: 314.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.3027, allocations: 11.98 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.3027, allocations: 17.72 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.3028, allocations: 25.66 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3028, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.79e-05/0.3029, allocations: 53.59 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3029, allocations: 10.03 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3029, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3029, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.303, allocations: 15.94 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.303, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.303, allocations: 7.844 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.303, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8419 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.484e-05/0.3031, allocations: 123.2 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3032, allocations: 11.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.3032, allocations: 7.812 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3032, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3032, allocations: 96 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3032, allocations: 3.984 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3036, allocations: 474.8 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3037, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.3037, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3037, allocations: 3.984 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3037, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3037, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3037, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3038, allocations: 85.84 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3039, allocations: 85 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3039, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.3039, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.3039, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.304, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.3041, allocations: 119.2 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.943e-06/0.3041, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000175/0.3042, allocations: 15.94 kB / 1.068 GB, free: 10.36 MB / 0.8419 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.0001073/0.3044, allocations: 103.3 kB / 1.068 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.657e-05/0.3044, allocations: 19.92 kB / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3044, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.3045, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.3046, allocations: 13.66 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.305, allocations: 214.9 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3053, allocations: 0.6962 MB / 1.069 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.3053, allocations: 11.44 kB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3053, allocations: 4 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.002115/0.3074, allocations: 0.856 MB / 1.07 GB, free: 8.371 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches