Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_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.007182/0.007182, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001899/0.001899, allocations: 195 kB / 16.67 MB, free: 5.926 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.34 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8108, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001895/0.8128, allocations: 0.8234 MB / 1.221 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.8129, allocations: 39.78 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.8129, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.813, allocations: 11.86 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.8131, allocations: 7.875 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-05/0.8131, allocations: 23.98 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.8132, allocations: 59.84 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.8134, allocations: 55.83 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.8135, allocations: 27.88 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.8135, allocations: 27.84 kB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.8135, allocations: 11.94 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.8136, allocations: 4 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.8136, allocations: 11.94 kB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.8136, allocations: 35.8 kB / 1.221 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.8138, allocations: 71.36 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8138, allocations: 0 / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8138, allocations: 0 / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8138, allocations: 0 / 1.221 GB, free: 0.8438 MB / 0.9356 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.0004357/0.8142, allocations: 383.1 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8143, allocations: 15.97 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.8143, allocations: 34.75 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.8144, allocations: 12.84 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.8146, allocations: 204.1 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.8146, allocations: 8.375 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.8146, allocations: 4.375 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.8148, allocations: 99.8 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8148, allocations: 7.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8148, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8149, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.003e-05/0.8149, allocations: 35.97 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.8155, allocations: 440.7 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.8156, allocations: 41.16 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.8156, allocations: 21.84 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.8156, allocations: 0 / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.8157, allocations: 38.53 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.8157, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.8158, allocations: 65.52 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.8159, allocations: 77.11 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8161, allocations: 161.1 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.8161, allocations: 25.7 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.8161, allocations: 100.1 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.8162, allocations: 7.953 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.8162, allocations: 17.67 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8164, allocations: 327.1 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.8164, allocations: 4 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.8164, allocations: 17.72 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.8165, allocations: 33.64 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8165, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.306e-05/0.8166, allocations: 49.66 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8166, allocations: 17.72 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.8166, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8166, allocations: 3.938 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.8167, allocations: 15.92 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8167, allocations: 4 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.8167, allocations: 3.938 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.8167, allocations: 8 kB / 1.224 GB, free: 14.33 MB / 0.9512 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 7.771e-05/0.8168, allocations: 105.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.8169, allocations: 15.89 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.8169, allocations: 11.88 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8169, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8169, allocations: 7.984 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.8169, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.8173, allocations: 474.7 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8173, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.8174, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8174, allocations: 4.062 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.8174, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8174, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8174, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.8175, allocations: 85.81 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.8176, allocations: 85.06 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8176, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.8176, allocations: 4.031 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.8176, allocations: 3.984 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.8176, allocations: 0 / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.708e-05/0.8177, allocations: 121.5 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8177, allocations: 3.938 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001902/0.8179, allocations: 8 kB / 1.224 GB, free: 13.29 MB / 0.9512 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.0003888/0.8183, allocations: 0.6176 MB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.01e-05/0.8184, allocations: 15.98 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8184, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.8184, allocations: 11.94 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.8186, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.8198, allocations: 1.331 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.8201, allocations: 0.6929 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.8201, allocations: 12.5 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.8202, allocations: 35.36 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8202, allocations: 0 / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.841, allocations: 1.574 MB / 1.229 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.581, allocations: 8.469 kB / 1.229 GB, free: 8.93 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches