Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001475/0.001475, allocations: 108 kB / 15.6 MB, free: 132 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.00162/0.00162, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.59 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002272/0.3276, allocations: 0.8348 MB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.3278, allocations: 47.78 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.3278, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.3279, allocations: 7.922 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.328, allocations: 7.875 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.97e-05/0.3281, allocations: 15.98 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3282, allocations: 67.78 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3284, allocations: 51.95 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.3285, allocations: 27.86 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.3285, allocations: 23.86 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3286, allocations: 8 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3286, allocations: 4 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.3286, allocations: 19.92 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.3287, allocations: 31.75 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3288, allocations: 71.97 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3288, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3288, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3288, allocations: 4 kB / 1.054 GB, free: 7.023 MB / 0.8106 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.0005495/0.3294, allocations: 371.3 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3294, allocations: 8.625 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.3295, allocations: 46.67 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.3295, allocations: 8.844 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3297, allocations: 192.2 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3297, allocations: 8.281 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3297, allocations: 8.375 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3299, allocations: 96.97 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3299, allocations: 3.938 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3299, allocations: 11.94 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3299, allocations: 0 / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.33, allocations: 35.98 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.3305, allocations: 444.5 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.3306, allocations: 33.16 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.3306, allocations: 29.86 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.3307, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3307, allocations: 34.56 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3307, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.3309, allocations: 57.48 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3309, allocations: 85.05 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.331, allocations: 158.2 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3311, allocations: 25.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.3311, allocations: 104 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.3312, allocations: 8.156 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3312, allocations: 17.72 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3313, allocations: 318.8 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3313, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.3313, allocations: 25.7 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.3314, allocations: 25.66 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3314, allocations: 4 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.56e-05/0.3315, allocations: 53.61 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3315, allocations: 15.92 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3315, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3315, allocations: 3.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.3316, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3316, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.3316, allocations: 11.84 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.3317, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 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.213e-05/0.3317, allocations: 119.4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3318, allocations: 15.84 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.3318, allocations: 15.86 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3318, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3318, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3318, allocations: 4 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.3322, allocations: 470.7 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3322, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.3322, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3322, allocations: 4 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.3323, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3323, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3323, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.799e-05/0.3323, allocations: 89.8 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3324, allocations: 89 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3324, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.3325, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.3325, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3325, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.3326, allocations: 126.1 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3326, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001895/0.3328, allocations: 8 kB / 1.057 GB, free: 3.504 MB / 0.8106 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.0003737/0.3331, allocations: 0.6269 MB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.3332, allocations: 12 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3332, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.3333, allocations: 12.09 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.3334, allocations: 8 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3345, allocations: 1.327 MB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3348, allocations: 0.6962 MB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3348, allocations: 8.422 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3349, allocations: 23.44 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3349, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.3523, allocations: 1.56 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.222, allocations: 13.28 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches