Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007391/0.007391, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001337/0.001337, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.86 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3049, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002704/0.3076, allocations: 0.8138 MB / 1.088 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.3078, allocations: 47.78 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.3079, allocations: 0 / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.3079, allocations: 11.88 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.3081, allocations: 7.875 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.667e-05/0.3081, allocations: 19.98 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3083, allocations: 67.77 kB / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3084, allocations: 47.94 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.3085, allocations: 31.8 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.3086, allocations: 27.86 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3086, allocations: 8 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.3086, allocations: 8 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.3087, allocations: 11.92 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.3087, allocations: 39.75 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3089, allocations: 78.44 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3089, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3089, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3089, allocations: 0 / 1.089 GB, free: 0.7695 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.0005723/0.3095, allocations: 380.1 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.3096, allocations: 12.03 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.3096, allocations: 38.73 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.3097, allocations: 12.75 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.31, allocations: 188.2 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.31, allocations: 8.375 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.31, allocations: 4.375 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3103, allocations: 101.6 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.3103, allocations: 7.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3103, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3103, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.606e-05/0.3104, allocations: 35.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.3111, allocations: 432.6 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.3112, allocations: 45.19 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.3112, allocations: 21.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3113, allocations: 3.984 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3113, allocations: 30.56 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3113, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002081/0.3115, allocations: 61.48 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3116, allocations: 77.11 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.3117, allocations: 159.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3118, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.3119, allocations: 108 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.3119, allocations: 7.906 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3119, allocations: 13.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3121, allocations: 327.1 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.3121, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.3121, allocations: 25.64 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.3122, allocations: 29.66 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3122, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.56e-05/0.3123, allocations: 53.55 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3123, allocations: 16 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3123, allocations: 3.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3124, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3124, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3125, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.3125, allocations: 7.844 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3125, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 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 0.0001016/0.3126, allocations: 111.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.3127, allocations: 11.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3127, allocations: 19.86 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3127, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3127, allocations: 4 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3127, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.3132, allocations: 470.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3132, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.3132, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3132, allocations: 4.062 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3133, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3133, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3133, allocations: 3.938 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3134, allocations: 81.92 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3135, allocations: 89 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3135, allocations: 7.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.3135, allocations: 4.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.3135, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3135, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000108/0.3137, allocations: 120.9 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001896/0.3139, allocations: 8 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.0004534/0.3143, allocations: 0.6209 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.3144, allocations: 19.94 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3144, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.3144, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.3146, allocations: 7.906 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.316, allocations: 1.342 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3163, allocations: 0.6963 MB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.3164, allocations: 4.438 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3164, allocations: 27.42 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3165, allocations: 4 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.3369, allocations: 1.589 MB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.126, allocations: 7.359 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches