Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001796/0.001803, allocations: 109.1 kB / 16.27 MB, free: 6.41 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.001861/0.001861, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.543/2.543, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 66.61 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.303, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002312/0.3054, allocations: 0.8271 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.3055, allocations: 39.78 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.3056, allocations: 0 / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.3057, allocations: 7.875 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.3057, allocations: 7.922 kB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.578e-05/0.3058, allocations: 19.98 kB / 1.019 GB, free: 9.734 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3059, allocations: 67.69 kB / 1.019 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3061, allocations: 47.95 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.3062, allocations: 23.88 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3062, allocations: 31.84 kB / 1.019 GB, free: 9.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3063, allocations: 4 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3063, allocations: 8 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.3063, allocations: 11.94 kB / 1.019 GB, free: 9.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.3064, allocations: 39.8 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3065, allocations: 67.98 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3065, allocations: 4 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3065, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3065, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 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.000508/0.307, allocations: 379.2 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3071, allocations: 12.92 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3071, allocations: 8.844 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3073, allocations: 196.1 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3074, allocations: 4.375 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3074, allocations: 8.375 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3076, allocations: 102.5 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3076, allocations: 192 / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3076, allocations: 3.938 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3076, allocations: 7.938 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.201e-05/0.3077, allocations: 31.98 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.3083, allocations: 444.5 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/0.3084, allocations: 41.2 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.3084, allocations: 17.78 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3084, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3084, allocations: 38.59 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3085, allocations: 4 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.3086, allocations: 53.48 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3087, allocations: 81.09 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3089, allocations: 157.8 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3089, allocations: 29.7 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.309, allocations: 108 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.309, allocations: 7.906 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.309, allocations: 17.7 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3092, allocations: 318.8 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.3092, allocations: 7.984 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.3092, allocations: 17.72 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.3093, allocations: 29.66 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3093, allocations: 0 / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.028e-05/0.3094, allocations: 65.59 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3094, allocations: 4 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3094, allocations: 3.938 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3094, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.3095, allocations: 11.94 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3095, allocations: 4.062 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.3095, allocations: 11.94 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.3096, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 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.174e-05/0.3097, allocations: 113.8 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3097, allocations: 11.89 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.3097, allocations: 19.8 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3097, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3098, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3098, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3102, allocations: 470.8 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3102, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.3102, allocations: 8 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3102, allocations: 3.938 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3103, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3103, allocations: 7.984 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3103, allocations: 3.938 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.572e-05/0.3104, allocations: 81.84 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3104, allocations: 89 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3105, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.3105, allocations: 4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.3105, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3105, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001019/0.3106, allocations: 125.3 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3106, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001803/0.3108, allocations: 4 kB / 1.022 GB, free: 5.949 MB / 0.795 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.000127/0.3109, allocations: 99.25 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.785e-05/0.311, allocations: 19.92 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3111, allocations: 4 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.3111, allocations: 8 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3112, allocations: 8.188 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3116, allocations: 180.5 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3119, allocations: 0.7007 MB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.312, allocations: 11.44 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.312, allocations: 3.938 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of Templates: time 0.00273/0.3147, allocations: 0.8614 MB / 1.024 GB, free: 3.984 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches