Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_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.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00145/0.00145, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.379/2.379, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.535, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00193/0.537, allocations: 0.8976 MB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.5371, allocations: 43.78 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.5372, allocations: 0 / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.5372, allocations: 3.938 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.5373, allocations: 4 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.099e-05/0.5373, allocations: 15.98 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.5374, allocations: 67.69 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.5376, allocations: 43.95 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.5376, allocations: 23.88 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.5377, allocations: 27.83 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.5377, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.5377, allocations: 7.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.5377, allocations: 8 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.5378, allocations: 39.67 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.5379, allocations: 66.17 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5379, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5379, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.5379, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.7637 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.0003661/0.5383, allocations: 381.2 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5383, allocations: 8.031 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.5383, allocations: 38.75 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.5384, allocations: 12.83 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.5386, allocations: 204.1 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.5386, allocations: 4.375 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5386, allocations: 12.31 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5387, allocations: 89.89 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5387, allocations: 3.938 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5388, allocations: 8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.5388, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.5389, allocations: 47.84 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.5393, allocations: 432.6 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.5394, allocations: 37.19 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.5394, allocations: 21.84 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.5394, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5394, allocations: 30.56 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5394, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.5396, allocations: 61.47 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.5396, allocations: 81.11 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5398, allocations: 160.5 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.5398, allocations: 29.7 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.5399, allocations: 108 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.5399, allocations: 3.906 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.5399, allocations: 17.72 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.54, allocations: 322.8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.54, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.54, allocations: 25.66 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.5401, allocations: 29.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5401, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.675e-05/0.5402, allocations: 57.55 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5402, allocations: 11.94 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5402, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.5402, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.5403, allocations: 7.984 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5403, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.5403, allocations: 7.969 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.5403, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 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 6.69e-05/0.5404, allocations: 114.4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.5405, allocations: 11.84 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.5405, allocations: 11.88 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5405, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5405, allocations: 3.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5405, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.5409, allocations: 474.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5409, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.5409, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5409, allocations: 4.094 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.5409, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5409, allocations: 3.938 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5409, allocations: 3.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.541, allocations: 85.89 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.5411, allocations: 88.95 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.5411, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.5411, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.5411, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.5411, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.059e-05/0.5412, allocations: 129.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5412, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001804/0.5414, allocations: 8 kB / 1.021 GB, free: 14.15 MB / 0.7794 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.0003211/0.5417, allocations: 0.617 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.5418, allocations: 15.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5418, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.5418, allocations: 8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.542, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.543, allocations: 1.348 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.5433, allocations: 0.6965 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.5433, allocations: 4.438 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.5434, allocations: 27.42 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5434, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009564/0.5529, allocations: 1.426 MB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.5531, allocations: 216.1 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.08, allocations: 0 / 1.025 GB, free: 9.707 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches