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.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.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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001626/0.001626, allocations: 198.2 kB / 16.14 MB, free: 6.746 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.433/2.433, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4977, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001721/0.4994, allocations: 0.8937 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 7.953e-05/0.4995, allocations: 39.78 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.4996, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.4996, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.4997, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.304e-05/0.4997, allocations: 15.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.4998, allocations: 63.7 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4999, allocations: 43.94 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.4999, allocations: 23.88 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.5, allocations: 23.84 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.5, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.5, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.5, allocations: 15.94 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.5001, allocations: 43.72 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.926e-05/0.5002, allocations: 65.97 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5002, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.11e-07/0.5002, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.5002, allocations: 0 / 1.018 GB, free: 1.562 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.0003323/0.5005, allocations: 379.3 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5006, allocations: 8.031 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.5006, allocations: 42.75 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.5006, allocations: 8.844 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.5008, allocations: 192.2 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.5008, allocations: 4.375 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.5008, allocations: 12.31 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.5009, allocations: 97.73 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.501, allocations: 3.938 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.501, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.501, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.5011, allocations: 39.86 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.5015, allocations: 444.6 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.5015, allocations: 41.25 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.5016, allocations: 21.78 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.5016, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5016, allocations: 38.56 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5016, allocations: 0 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.5018, allocations: 57.55 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5018, allocations: 77.11 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5019, allocations: 170.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.502, allocations: 25.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.502, allocations: 104 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.502, allocations: 7.906 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.5021, allocations: 13.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.5021, allocations: 322.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.5022, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.5022, allocations: 21.66 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.5022, allocations: 25.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5022, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.884e-05/0.5023, allocations: 65.53 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5023, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.5024, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.5024, allocations: 96 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.5024, allocations: 8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.5024, allocations: 4.062 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.5025, allocations: 11.89 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.5025, allocations: 3.984 kB / 1.02 GB, free: 15.06 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.335e-05/0.5025, allocations: 114.4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.5026, allocations: 11.84 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.5026, allocations: 11.88 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.5026, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5026, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.5026, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.503, allocations: 470.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.503, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.503, allocations: 7.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.503, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.503, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.503, allocations: 11.88 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.503, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.192e-05/0.5031, allocations: 81.91 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.5031, allocations: 92.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.5032, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.5032, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.5032, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.5032, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.023e-05/0.5033, allocations: 123.3 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5033, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001757/0.5035, allocations: 4 kB / 1.021 GB, free: 14.03 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.0002861/0.5038, allocations: 0.617 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.808e-05/0.5038, allocations: 27.95 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5038, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.5039, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.504, allocations: 10.53 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.505, allocations: 1.352 MB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.5052, allocations: 0.6926 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.5052, allocations: 8.438 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.5053, allocations: 27.42 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5053, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009186/0.5145, allocations: 1.421 MB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.5148, allocations: 219 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.001, allocations: 10.62 kB / 1.025 GB, free: 9.566 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