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.001382/0.001382, 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.001471/0.001471, allocations: 192.3 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.583/2.583, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 71.89 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5007, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001779/0.5025, allocations: 0.8289 MB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.62e-05/0.5026, allocations: 39.78 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.5027, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.5027, allocations: 11.86 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.5028, allocations: 11.88 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.094e-05/0.5028, allocations: 23.98 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.5029, allocations: 59.84 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.503, allocations: 43.94 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.5031, allocations: 27.86 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.5031, allocations: 27.8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.5032, allocations: 7.938 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-06/0.5032, allocations: 8 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.5032, allocations: 19.92 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.5032, allocations: 31.81 kB / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.5033, allocations: 73.94 kB / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5033, allocations: 0 / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5033, allocations: 4 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5034, allocations: 0 / 1.019 GB, free: 1.312 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.0003287/0.5037, allocations: 379.2 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5037, allocations: 12.03 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.5038, allocations: 38.73 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.5038, allocations: 16.84 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.504, allocations: 188.2 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.504, allocations: 4.375 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.504, allocations: 8.375 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5041, allocations: 99.84 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5041, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.5041, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5042, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.5042, allocations: 43.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.5047, allocations: 428.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.5047, allocations: 45.22 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.5048, allocations: 25.83 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.5048, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5048, allocations: 34.56 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.5048, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.5049, allocations: 57.48 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.505, allocations: 77.36 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5051, allocations: 174.1 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.5051, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.5052, allocations: 104 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.5052, allocations: 3.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.5052, allocations: 21.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.5053, allocations: 322.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.5053, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.5054, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.5054, allocations: 21.72 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5054, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.764e-05/0.5055, allocations: 65.53 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5055, allocations: 7.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.5055, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5055, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.5056, allocations: 12.06 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5056, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.5056, allocations: 3.906 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.5056, allocations: 4 kB / 1.021 GB, free: 14.82 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 5.939e-05/0.5057, allocations: 119.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.5058, allocations: 11.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.5058, allocations: 11.86 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5058, allocations: 4.094 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5058, allocations: 3.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5058, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.5061, allocations: 470.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5061, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.5061, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.5062, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.5062, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5062, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5062, allocations: 8.062 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.395e-05/0.5062, allocations: 77.83 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.5063, allocations: 88.94 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.5063, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.5063, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-06/0.5064, allocations: 3.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.5064, allocations: 8.031 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.5064, allocations: 118.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5064, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001765/0.5066, allocations: 4 kB / 1.022 GB, free: 13.77 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.0002757/0.5069, allocations: 0.6171 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.507, allocations: 19.94 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.507, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.507, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.5072, allocations: 12.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.5081, allocations: 1.322 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5083, allocations: 0.6889 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.5083, allocations: 12.42 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.5084, allocations: 23.44 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5084, allocations: 3.938 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.379/1.887, allocations: 1.546 MB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/11.63, allocations: 12.5 kB / 1.026 GB, free: 9.461 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