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.001419/0.001419, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.597/2.597, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6897, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00196/0.6917, allocations: 0.8308 MB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.6918, allocations: 39.8 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.6919, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.6919, allocations: 7.875 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.692, allocations: 15.84 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.247e-05/0.692, allocations: 23.98 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.6921, allocations: 59.84 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.6923, allocations: 35.97 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.6923, allocations: 31.86 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.6924, allocations: 27.86 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.6924, allocations: 4 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.6924, allocations: 8 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.6925, allocations: 19.86 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.6925, allocations: 31.81 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.055e-05/0.6926, allocations: 69.95 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.6926, allocations: 3.984 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6926, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.6926, allocations: 0 / 1.019 GB, free: 1.25 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.0003826/0.693, allocations: 388.5 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6931, allocations: 12.03 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.6931, allocations: 38.73 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.6931, allocations: 8.844 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.6933, allocations: 192.2 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.6933, allocations: 8.375 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.6933, allocations: 4.375 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.6935, allocations: 95.86 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6935, allocations: 7.922 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.6935, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.6935, allocations: 3.938 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.6936, allocations: 43.86 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.6941, allocations: 432.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/0.6942, allocations: 41.19 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.6942, allocations: 21.84 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.6942, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.6942, allocations: 38.55 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6943, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.6944, allocations: 57.48 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.6945, allocations: 77.11 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6946, allocations: 166.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.6946, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.6947, allocations: 104 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.6947, allocations: 3.906 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.6947, allocations: 21.97 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.6948, allocations: 326.8 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.6949, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.6949, allocations: 21.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.6949, allocations: 21.72 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6949, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.9e-05/0.695, allocations: 61.64 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.695, allocations: 11.94 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6951, allocations: 3.984 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6951, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.6951, allocations: 11.98 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6951, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.6952, allocations: 3.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.6952, allocations: 4 kB / 1.021 GB, free: 14.75 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.609e-05/0.6953, allocations: 117.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.6953, allocations: 11.84 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.6953, allocations: 11.86 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6953, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6954, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.6954, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.6957, allocations: 466.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6957, allocations: 4.062 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.6957, allocations: 15.88 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6958, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.6958, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6958, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6958, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.25e-05/0.6959, allocations: 85.83 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.6959, allocations: 84.95 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.6959, allocations: 7.984 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.696, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.696, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.696, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.6961, allocations: 122.3 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.473e-06/0.6961, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001877/0.6963, allocations: 11.94 kB / 1.022 GB, free: 13.7 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.0003366/0.6966, allocations: 0.6171 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.6967, allocations: 15.94 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6967, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.178e-05/0.6967, allocations: 8.156 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.6969, allocations: 5.406 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.698, allocations: 1.326 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.6983, allocations: 0.6924 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.6983, allocations: 8.422 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.6984, allocations: 23.44 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6984, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.7149, allocations: 1.536 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.796, allocations: 16.09 kB / 1.026 GB, free: 9.371 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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