Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.To_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.001303/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001557/0.001557, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.394/2.394, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5433, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001808/0.5451, allocations: 0.8898 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.354e-05/0.5452, allocations: 43.78 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.5453, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.5453, allocations: 3.938 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.5454, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-05/0.5454, allocations: 23.98 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.5455, allocations: 63.7 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.5456, allocations: 39.95 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.5457, allocations: 23.88 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.5457, allocations: 31.78 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5458, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.5458, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.5458, allocations: 7.984 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.5458, allocations: 39.67 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.417e-05/0.5459, allocations: 66.03 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5459, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.132e-06/0.546, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.546, allocations: 0 / 1.018 GB, free: 1.527 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.0003694/0.5463, allocations: 385.2 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5464, allocations: 8.031 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.5464, allocations: 42.69 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.5464, allocations: 8.844 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.5466, allocations: 196.2 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5466, allocations: 12.31 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5466, allocations: 4.375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5468, allocations: 91.86 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5468, allocations: 11.88 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5468, allocations: 11.98 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5468, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.5469, allocations: 35.92 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.5473, allocations: 436.6 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.5474, allocations: 41.19 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.5474, allocations: 21.84 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.5474, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.5475, allocations: 30.56 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.5475, allocations: 4 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.5476, allocations: 57.67 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5477, allocations: 81.11 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.5478, allocations: 164.1 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5478, allocations: 25.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.5479, allocations: 104 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.5479, allocations: 7.906 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.5479, allocations: 13.97 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.548, allocations: 326.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.548, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.5481, allocations: 21.66 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.5481, allocations: 25.72 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5481, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.438e-05/0.5482, allocations: 61.53 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.5482, allocations: 8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5482, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5482, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.5483, allocations: 7.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5483, allocations: 7.984 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.5483, allocations: 3.906 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.5483, allocations: 8 kB / 1.02 GB, free: 15.02 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.896e-05/0.5484, allocations: 106.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.5484, allocations: 11.97 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.5485, allocations: 15.81 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5485, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5485, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.5485, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.5488, allocations: 474.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5488, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.5488, allocations: 8.062 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5489, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.5489, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5489, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5489, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.816e-05/0.5489, allocations: 77.83 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.549, allocations: 92.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.549, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.549, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.549, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.5491, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.15e-05/0.5491, allocations: 116.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5491, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001771/0.5493, allocations: 8 kB / 1.021 GB, free: 13.99 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.0002877/0.5496, allocations: 0.6209 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.369e-05/0.5497, allocations: 19.92 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5497, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.5497, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.5499, allocations: 14.25 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.5508, allocations: 1.352 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.551, allocations: 0.6965 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.551, allocations: 4.531 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.5511, allocations: 27.42 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5511, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009525/0.5606, allocations: 1.425 MB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.5608, allocations: 210.1 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.058, allocations: 0 / 1.025 GB, free: 9.52 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches