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.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_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.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001287/0.001287, allocations: 195.3 kB / 16.25 MB, free: 6.629 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.57 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.354/2.354, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.88 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5286, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001741/0.5304, allocations: 0.8898 MB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.625e-05/0.5305, allocations: 43.78 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.5306, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.5306, allocations: 3.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.5307, allocations: 7.922 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.561e-05/0.5307, allocations: 16 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.5308, allocations: 67.75 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5309, allocations: 39.95 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.531, allocations: 27.86 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.531, allocations: 31.86 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.531, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.531, allocations: 11.94 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.5311, allocations: 15.92 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.5311, allocations: 35.75 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.5312, allocations: 70 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.5312, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5312, allocations: 3.938 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.5312, allocations: 0 / 1.018 GB, free: 1.504 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.0003109/0.5315, allocations: 379.2 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.5315, allocations: 12.03 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.5316, allocations: 42.73 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.5316, allocations: 8.844 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5318, allocations: 196.1 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5318, allocations: 8.359 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.5318, allocations: 8.375 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.5319, allocations: 91.86 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5319, allocations: 7.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.532, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.532, allocations: 3.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.199e-05/0.532, allocations: 39.92 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.5324, allocations: 432.5 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.5325, allocations: 45.28 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.5325, allocations: 25.81 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.5325, allocations: 0 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5326, allocations: 34.56 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5326, allocations: 0 / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.5327, allocations: 57.48 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.5328, allocations: 85.09 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5329, allocations: 160.3 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5329, allocations: 25.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.5329, allocations: 104 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.533, allocations: 3.906 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.533, allocations: 21.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.5331, allocations: 323.1 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.5331, allocations: 7.922 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.5331, allocations: 21.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.5332, allocations: 21.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5332, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.447e-05/0.5332, allocations: 65.56 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5333, allocations: 11.94 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.5333, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.5333, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.5333, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5333, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.5334, allocations: 3.906 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5334, allocations: 4 kB / 1.02 GB, free: 15.01 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.102e-05/0.5335, allocations: 114.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.5335, allocations: 15.88 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.5335, allocations: 15.86 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.5335, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5335, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.5335, allocations: 3.938 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.5339, allocations: 462.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5339, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.5339, allocations: 8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5339, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.5339, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5339, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5339, allocations: 3.984 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.534, allocations: 77.84 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.534, allocations: 92.94 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5341, allocations: 8.031 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.5341, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-06/0.5341, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5341, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.361e-05/0.5342, allocations: 124.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5342, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001759/0.5344, allocations: 8 kB / 1.021 GB, free: 13.96 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.0002728/0.5346, allocations: 0.6171 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.624e-05/0.5347, allocations: 15.94 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5347, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.5347, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.5349, allocations: 12.27 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.5358, allocations: 1.348 MB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.536, allocations: 0.6963 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.5361, allocations: 8.422 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.5361, allocations: 19.44 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5361, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.567, allocations: 1.472 MB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/1.567, allocations: 203.8 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/3.19, allocations: 0 / 1.026 GB, free: 9.484 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