Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.007941/0.00794, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001088/0.001088, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 64.14 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3829, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002142/0.3851, allocations: 0.8349 MB / 1.208 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.3853, allocations: 39.8 kB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.3854, allocations: 0 / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.3854, allocations: 11.86 kB / 1.208 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.3856, allocations: 15.88 kB / 1.208 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.925e-05/0.3856, allocations: 15.98 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3857, allocations: 63.83 kB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3859, allocations: 47.91 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.386, allocations: 27.81 kB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.3861, allocations: 31.84 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3861, allocations: 4 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.3861, allocations: 8 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.3862, allocations: 11.94 kB / 1.208 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.3862, allocations: 35.73 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3863, allocations: 75.92 kB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3864, allocations: 4 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3864, allocations: 0 / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3864, allocations: 4 kB / 1.208 GB, free: 8.957 MB / 0.9669 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.0004692/0.3869, allocations: 383.1 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3869, allocations: 8.625 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.387, allocations: 38.75 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.387, allocations: 8.844 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3872, allocations: 192.2 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3873, allocations: 4.375 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3873, allocations: 8.375 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3875, allocations: 95.89 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3875, allocations: 3.938 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3875, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3875, allocations: 7.938 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.3876, allocations: 35.92 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3882, allocations: 440.6 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.3882, allocations: 33.16 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.3883, allocations: 25.88 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.3883, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3883, allocations: 30.56 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3883, allocations: 4 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.3885, allocations: 61.47 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3886, allocations: 81.11 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3887, allocations: 160.8 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3888, allocations: 25.7 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.3888, allocations: 107.9 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.3888, allocations: 0 / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3889, allocations: 25.88 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.389, allocations: 318.8 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.389, allocations: 11.94 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.3891, allocations: 17.72 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.3891, allocations: 25.66 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3891, allocations: 4 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.563e-05/0.3892, allocations: 69.53 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3892, allocations: 7.938 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3892, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3893, allocations: 0 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.3893, allocations: 8 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3893, allocations: 0 / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.3894, allocations: 7.922 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.3894, allocations: 4 kB / 1.211 GB, free: 6.473 MB / 0.9669 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.62e-05/0.3895, allocations: 117.9 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.3895, allocations: 11.84 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.3896, allocations: 3.875 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3896, allocations: 4 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3896, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3896, allocations: 0 / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.39, allocations: 478.7 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.39, allocations: 64 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.39, allocations: 8 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.39, allocations: 96 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.39, allocations: 3.984 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.39, allocations: 0 / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.39, allocations: 7.938 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.44e-05/0.3901, allocations: 85.77 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.3902, allocations: 89.05 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3902, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.3903, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.3903, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3903, allocations: 4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.491e-05/0.3904, allocations: 122.1 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3904, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001836/0.3906, allocations: 8 kB / 1.212 GB, free: 5.438 MB / 0.9669 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.0003698/0.3909, allocations: 0.617 MB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.391, allocations: 19.98 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3911, allocations: 3.938 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.3911, allocations: 12.16 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3912, allocations: 13.62 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3924, allocations: 1.323 MB / 1.213 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3927, allocations: 0.6929 MB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.3927, allocations: 12.42 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.3928, allocations: 23.44 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3928, allocations: 0 / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.4134, allocations: 1.596 MB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.877, allocations: 3.984 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches