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.007333/0.007333, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.00189/0.00189, allocations: 193.5 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.149/2.149, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.759/2.759, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001983/0.2761, allocations: 0.8256 MB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001182/0.2763, allocations: 47.78 kB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.2763, allocations: 3.938 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.2764, allocations: 7.875 kB / 1.167 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.2765, allocations: 3.938 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.763e-05/0.2765, allocations: 23.97 kB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2766, allocations: 59.84 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2768, allocations: 47.97 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.2768, allocations: 23.86 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.2769, allocations: 31.8 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2769, allocations: 8 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2769, allocations: 4 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.277, allocations: 19.92 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.277, allocations: 27.81 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2772, allocations: 87.78 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2772, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2772, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2772, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 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.0004598/0.2776, allocations: 379.1 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2777, allocations: 8.031 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.2778, allocations: 42.73 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2778, allocations: 16.84 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.278, allocations: 196.1 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.278, allocations: 8.312 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2781, allocations: 12.36 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2782, allocations: 93.97 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2783, allocations: 3.938 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2783, allocations: 4 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2783, allocations: 7.938 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.2784, allocations: 39.92 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.2789, allocations: 432.6 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.322e-05/0.279, allocations: 41.34 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.2791, allocations: 25.77 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2791, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.2791, allocations: 34.56 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2791, allocations: 0 / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.2793, allocations: 53.53 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.2794, allocations: 77.11 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2795, allocations: 162.5 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2795, allocations: 25.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2796, allocations: 100.1 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.2796, allocations: 15.89 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2797, allocations: 17.66 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2798, allocations: 318.8 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.2799, allocations: 8 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.2799, allocations: 17.7 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.2799, allocations: 29.72 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.28, allocations: 4 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.932e-05/0.28, allocations: 57.55 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2801, allocations: 11.92 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2801, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2801, allocations: 4 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.2802, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2802, allocations: 8.047 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2802, allocations: 12 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.2802, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 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 9.453e-05/0.2803, allocations: 113.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2804, allocations: 11.89 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.2804, allocations: 15.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2804, allocations: 3.938 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2804, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2804, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.2809, allocations: 474.8 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2809, allocations: 3.938 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.2809, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2809, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.2809, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.281, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.281, allocations: 3.938 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.692e-05/0.2811, allocations: 81.94 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.2811, allocations: 93.05 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2812, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.2812, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2812, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2812, allocations: 3.938 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2813, allocations: 125.1 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2813, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001989/0.2815, allocations: 11.94 kB / 1.17 GB, free: 2.551 MB / 0.92 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.0004338/0.282, allocations: 0.6133 MB / 1.171 GB, free: 1.906 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.2821, allocations: 23.94 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2821, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.2821, allocations: 8 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2823, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2836, allocations: 1.335 MB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.284, allocations: 0.6928 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.284, allocations: 8.438 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.2841, allocations: 23.42 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.2841, allocations: 4 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.3057, allocations: 1.575 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.745, allocations: 14.62 kB / 1.175 GB, free: 14.2 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_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.csv","/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