Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001224/0.001225, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001159/0.001159, allocations: 191.8 kB / 16.25 MB, free: 6.625 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.333/2.333, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4956, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001846/0.4975, allocations: 0.8882 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.2e-05/0.4976, allocations: 39.8 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.4976, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.4977, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.4977, allocations: 7.922 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.449e-05/0.4978, allocations: 16 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.4979, allocations: 63.83 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.498, allocations: 39.97 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.498, allocations: 27.86 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.4981, allocations: 23.86 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4981, allocations: 11.94 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.4981, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.4982, allocations: 19.92 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.4982, allocations: 35.75 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.922e-05/0.4983, allocations: 74 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4983, allocations: 4 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4983, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4983, allocations: 0 / 1.018 GB, free: 1.48 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.0003466/0.4987, allocations: 383.1 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4987, allocations: 8.031 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.4987, allocations: 42.73 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.4988, allocations: 8.844 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4989, allocations: 192.2 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.4989, allocations: 8.375 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.499, allocations: 8.375 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.4991, allocations: 98.19 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4991, allocations: 3.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4991, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4991, allocations: 7.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.4992, allocations: 39.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4997, allocations: 432.6 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.4997, allocations: 41.34 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.4997, allocations: 25.77 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.4998, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4998, allocations: 38.56 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4998, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.4999, allocations: 53.48 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5, allocations: 77.11 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.5001, allocations: 172 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.5001, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.5002, allocations: 104 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.5002, allocations: 11.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.5002, allocations: 13.72 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.5003, allocations: 322.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.5003, allocations: 8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.5004, allocations: 17.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.5004, allocations: 29.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5004, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.957e-05/0.5005, allocations: 53.55 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5005, allocations: 11.92 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5005, allocations: 96 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5005, allocations: 7.984 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.5006, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.5006, allocations: 4.062 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.5006, allocations: 7.906 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.5006, allocations: 0 / 1.02 GB, free: 14.99 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.147e-05/0.5007, allocations: 114.4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.5007, allocations: 11.84 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.5008, allocations: 19.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5008, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5008, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.5008, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.5011, allocations: 470.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5011, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.5011, allocations: 7.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5011, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5012, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5012, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5012, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.765e-05/0.5012, allocations: 81.89 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.5013, allocations: 96.94 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5013, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.5013, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.5014, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.5014, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.5014, allocations: 129.2 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5014, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001863/0.5016, allocations: 8 kB / 1.021 GB, free: 13.94 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.0002862/0.5019, allocations: 0.6132 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.144e-05/0.502, allocations: 19.94 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.502, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.502, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.5022, allocations: 8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009472/0.5031, allocations: 1.354 MB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5033, allocations: 0.6885 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.5034, allocations: 12.42 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.5034, allocations: 23.44 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5034, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.5267, allocations: 1.467 MB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.5269, allocations: 210.3 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/2.016, allocations: 0 / 1.026 GB, free: 9.461 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches