Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_9_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.006995/0.006995, allocations: 101.4 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.002149/0.002149, allocations: 186.9 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 2.05/2.05, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.254/4.254, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 60.16 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4649, allocations: 140.4 MB / 1.087 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.004147/0.4691, allocations: 0.8138 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.4694, allocations: 43.78 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.4695, allocations: 4 kB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.283e-05/0.4696, allocations: 7.875 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.4697, allocations: 7.922 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.428e-05/0.4698, allocations: 19.98 kB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.47, allocations: 63.78 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.4703, allocations: 47.95 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.4704, allocations: 27.84 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4705, allocations: 23.86 kB / 1.089 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.4705, allocations: 4 kB / 1.089 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.4706, allocations: 8 kB / 1.089 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.4706, allocations: 15.92 kB / 1.089 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.4707, allocations: 39.73 kB / 1.089 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.4709, allocations: 86.45 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4709, allocations: 0 / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4709, allocations: 0 / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.4709, allocations: 0 / 1.089 GB, free: 0.8906 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.0006991/0.4717, allocations: 380.1 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.4717, allocations: 8.031 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.4718, allocations: 38.75 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.4719, allocations: 12.75 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4723, allocations: 192.1 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4723, allocations: 16.31 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4724, allocations: 4.375 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.4726, allocations: 93.52 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4727, allocations: 3.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4727, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4727, allocations: 4 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.4729, allocations: 39.92 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.474, allocations: 432.5 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4741, allocations: 45.33 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.4742, allocations: 17.78 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.4742, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.4742, allocations: 38.56 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.4743, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002895/0.4746, allocations: 57.47 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.4747, allocations: 77.11 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.4749, allocations: 161.3 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.475, allocations: 25.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4751, allocations: 104.3 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4751, allocations: 15.89 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.4752, allocations: 13.66 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.4754, allocations: 322.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.4755, allocations: 15.98 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/0.4756, allocations: 13.72 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.4757, allocations: 29.72 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4757, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000157/0.4758, allocations: 61.53 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4759, allocations: 7.938 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4759, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4759, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.476, allocations: 8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4761, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.4761, allocations: 11.84 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4762, allocations: 4.062 kB / 1.091 GB, free: 14.41 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.0001387/0.4763, allocations: 117.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.4764, allocations: 11.94 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.4765, allocations: 15.86 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4765, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4765, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4765, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.4772, allocations: 470.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4772, allocations: 7.875 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.4772, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.4773, allocations: 3.984 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4773, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.4773, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4773, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.4775, allocations: 77.91 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.4776, allocations: 93 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4776, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.4776, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.4777, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4777, allocations: 7.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001636/0.4779, allocations: 121.1 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/0.4779, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003783/0.4783, allocations: 8.031 kB / 1.092 GB, free: 13.37 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.0005684/0.4789, allocations: 0.6132 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.479, allocations: 27.86 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.479, allocations: 4.156 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.4791, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.4793, allocations: 11.91 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4813, allocations: 1.334 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.4817, allocations: 0.6963 MB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.166e-05/0.4818, allocations: 8.422 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.4819, allocations: 23.44 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.4819, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.5098, allocations: 1.584 MB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.37, allocations: 15.48 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches