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.00133/0.00133, 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.001615/0.001615, allocations: 194.8 kB / 16.25 MB, free: 6.637 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.327/2.327, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5017, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00183/0.5036, allocations: 0.8956 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.26e-05/0.5037, allocations: 35.8 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.5038, allocations: 4 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.5038, allocations: 3.938 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.5039, allocations: 7.922 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.354e-05/0.5039, allocations: 19.98 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.504, allocations: 59.84 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.5042, allocations: 43.97 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.5042, allocations: 23.86 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.5043, allocations: 31.8 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.5043, allocations: 8 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.5043, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.5043, allocations: 15.92 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.5043, allocations: 35.75 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.607e-05/0.5044, allocations: 74.02 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5044, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5045, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5045, allocations: 3.984 kB / 1.018 GB, free: 1.602 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.0003454/0.5048, allocations: 379.2 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.5049, allocations: 8.031 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.5049, allocations: 42.73 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.5049, allocations: 8.844 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.5051, allocations: 192.2 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5051, allocations: 8.375 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.5051, allocations: 8.312 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.5053, allocations: 95.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5053, allocations: 3.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5053, allocations: 11.92 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5053, allocations: 7.984 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.5054, allocations: 35.92 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.5058, allocations: 432.6 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.5059, allocations: 41.34 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.5059, allocations: 21.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.5059, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5059, allocations: 38.55 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.5059, allocations: 0 / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.5061, allocations: 53.48 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5061, allocations: 77.11 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5063, allocations: 172.4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.5063, allocations: 29.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.5063, allocations: 104 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.5064, allocations: 11.91 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.5064, allocations: 13.72 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.5065, allocations: 318.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.5065, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.5065, allocations: 17.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.5066, allocations: 29.72 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5066, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.009e-05/0.5066, allocations: 57.55 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5067, allocations: 7.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5067, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5067, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.5067, allocations: 7.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5068, allocations: 8.047 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.5068, allocations: 7.906 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.5068, allocations: 0 / 1.02 GB, free: 15.11 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.363e-05/0.5069, allocations: 118.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.5069, allocations: 11.84 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.5069, allocations: 15.86 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.5069, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.507, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.507, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.5073, allocations: 478.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5073, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.5073, allocations: 7.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5073, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5073, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5073, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5073, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.056e-05/0.5074, allocations: 81.89 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.5075, allocations: 92.95 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5075, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.5075, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.5075, allocations: 7.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.5075, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.552e-05/0.5076, allocations: 124.9 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5076, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001776/0.5078, allocations: 8 kB / 1.021 GB, free: 14.06 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.0002818/0.5081, allocations: 0.6093 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.5082, allocations: 23.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5082, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.5082, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.5083, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.5093, allocations: 1.35 MB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.5095, allocations: 0.6885 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.5095, allocations: 12.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.5095, allocations: 27.44 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5096, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.5197, allocations: 1.47 MB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.5199, allocations: 215.7 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.013, allocations: 4 kB / 1.026 GB, free: 9.594 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