Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.From_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_10_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.001222/0.001222, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001293/0.001293, allocations: 190 kB / 16.25 MB, free: 6.633 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5588, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001899/0.5608, allocations: 0.8859 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001052/0.5609, allocations: 39.78 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.5609, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.561, allocations: 11.92 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.5611, allocations: 7.938 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.333e-05/0.5611, allocations: 15.98 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.5612, allocations: 63.86 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.5614, allocations: 51.86 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.5614, allocations: 23.88 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.5615, allocations: 31.78 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.5615, allocations: 4 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.5615, allocations: 8 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.5615, allocations: 7.938 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.5616, allocations: 39.8 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.5617, allocations: 73.95 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5617, allocations: 0 / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5617, allocations: 4 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5617, allocations: 0 / 1.018 GB, free: 1.426 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.0004309/0.5621, allocations: 379.1 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5622, allocations: 12.03 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.5622, allocations: 34.75 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.5623, allocations: 12.84 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.5625, allocations: 196.1 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5625, allocations: 8.375 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.5625, allocations: 8.375 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.5627, allocations: 91.86 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5627, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5627, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5627, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.5628, allocations: 35.92 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.5633, allocations: 448.5 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.5633, allocations: 33.28 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.5634, allocations: 25.84 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.5634, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5634, allocations: 30.56 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.5634, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.5635, allocations: 61.47 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.5636, allocations: 77.11 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.5637, allocations: 172.2 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.5637, allocations: 25.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.5638, allocations: 111.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.5638, allocations: 3.906 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.5639, allocations: 17.72 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.564, allocations: 318.8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.564, allocations: 8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.564, allocations: 17.72 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.564, allocations: 33.66 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5641, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.62e-05/0.5641, allocations: 65.53 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5642, allocations: 9.188 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.5642, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.5642, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.5642, allocations: 8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5643, allocations: 8.047 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.5643, allocations: 3.906 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.5643, allocations: 7.984 kB / 1.02 GB, free: 14.93 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.684e-05/0.5644, allocations: 114.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.5644, allocations: 15.78 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.5644, allocations: 3.875 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5644, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5644, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.5645, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.5648, allocations: 474.9 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5648, allocations: 3.984 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.5649, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5649, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.5649, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5649, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5649, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.795e-05/0.565, allocations: 81.91 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.565, allocations: 92.94 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.565, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.5651, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.5651, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.5651, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.5652, allocations: 124.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5652, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001783/0.5654, allocations: 8 kB / 1.021 GB, free: 13.89 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.0003422/0.5657, allocations: 0.6093 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.5658, allocations: 27.95 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5658, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.5658, allocations: 8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.566, allocations: 10.11 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.567, allocations: 1.346 MB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.5673, allocations: 0.6924 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.5673, allocations: 8.438 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.5673, allocations: 27.42 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5673, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.5776, allocations: 1.477 MB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.5778, allocations: 219.5 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.116, allocations: 7.938 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches