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.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.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.00114/0.00114, 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.001262/0.001262, allocations: 193.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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.464/2.464, allocations: 437 MB / 0.7104 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 68.08 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5779, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002237/0.5801, allocations: 0.825 MB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.5803, allocations: 43.8 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.5804, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.5804, allocations: 11.86 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.5805, allocations: 3.938 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.104e-05/0.5806, allocations: 15.98 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.5807, allocations: 75.77 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.5808, allocations: 39.95 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.5809, allocations: 27.86 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.581, allocations: 27.86 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.581, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.581, allocations: 12 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.581, allocations: 15.92 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.009e-05/0.5811, allocations: 39.67 kB / 1.019 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.5812, allocations: 70.02 kB / 1.019 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5812, allocations: 3.938 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5812, allocations: 0 / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5812, allocations: 0 / 1.019 GB, free: 1.332 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.0003955/0.5816, allocations: 379.2 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5817, allocations: 16.02 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.5817, allocations: 34.75 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.5817, allocations: 16.84 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.5819, allocations: 192.2 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.582, allocations: 4.375 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.582, allocations: 12.31 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.5822, allocations: 87.86 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5822, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5822, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5822, allocations: 3.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.5823, allocations: 43.92 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.5829, allocations: 428.7 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.5829, allocations: 45.17 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.583, allocations: 21.84 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.583, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.583, allocations: 34.56 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.583, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001842/0.5832, allocations: 57.48 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5833, allocations: 85.34 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5834, allocations: 160.2 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.5834, allocations: 33.69 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.5835, allocations: 99.98 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-06/0.5835, allocations: 7.891 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.5836, allocations: 17.72 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.5837, allocations: 322.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.5837, allocations: 7.984 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.5837, allocations: 25.66 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.5837, allocations: 21.72 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5838, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.837e-05/0.5838, allocations: 61.53 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5839, allocations: 11.94 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.5839, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5839, allocations: 4.062 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.584, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.584, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.584, allocations: 3.906 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5841, allocations: 7.938 kB / 1.021 GB, free: 14.83 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.538e-05/0.5841, allocations: 113.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.5842, allocations: 15.83 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.5842, allocations: 7.875 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5842, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5842, allocations: 8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.5842, allocations: 96 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.5846, allocations: 466.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5846, allocations: 7.922 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.5846, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5846, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5846, allocations: 3.984 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5846, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5846, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.5847, allocations: 81.84 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.5848, allocations: 88.94 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.5848, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.5848, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.5848, allocations: 4.031 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.5849, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.142e-05/0.5849, allocations: 125.1 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5849, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001906/0.5851, allocations: 8 kB / 1.022 GB, free: 13.79 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.0003476/0.5855, allocations: 0.6209 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.56e-05/0.5856, allocations: 19.94 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5856, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.5856, allocations: 7.984 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.5858, allocations: 8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.5869, allocations: 1.319 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.5871, allocations: 0.6963 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.5871, allocations: 8.422 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5872, allocations: 23.42 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5872, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.6053, allocations: 1.544 MB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.563, allocations: 13.98 kB / 1.026 GB, free: 9.473 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