Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.00592/0.00592, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.001354/0.001354, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 69.94 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.0055/0.2907, allocations: 3.372 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2932, allocations: 1.484 MB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.2935, allocations: 7.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.2952, allocations: 0.6893 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005669/0.2958, allocations: 199 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.2965, allocations: 243.4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.2971, allocations: 419.1 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000569/0.2977, allocations: 304 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.298, allocations: 155.5 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.2984, allocations: 199.3 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.2985, allocations: 28 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.2989, allocations: 235.4 kB / 1.095 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.299, allocations: 103.8 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.2992, allocations: 147.3 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.2997, allocations: 458.3 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2997, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2997, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2998, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009809/0.3007, allocations: 0.6193 MB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3008, allocations: 12.03 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.3009, allocations: 58.73 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.3015, allocations: 104.6 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3019, allocations: 288.5 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.302, allocations: 46.83 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.3021, allocations: 28.36 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.3027, allocations: 416.4 kB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3027, allocations: 4 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3028, allocations: 15.98 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.3028, allocations: 28.55 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.3034, allocations: 329.9 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.3056, allocations: 2.088 MB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.3062, allocations: 202.6 kB / 1.099 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.3065, allocations: 128.8 kB / 1.099 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3065, allocations: 7.984 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.3066, allocations: 34.56 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.3066, allocations: 0 / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0006384/0.3072, allocations: 267.5 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3073, allocations: 51.41 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3075, allocations: 225 kB / 1.1 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3075, allocations: 29.7 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3076, allocations: 200.3 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.3077, allocations: 71.45 kB / 1.1 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.3078, allocations: 53.66 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3079, allocations: 330.8 kB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3081, allocations: 84.78 kB / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3084, allocations: 186.1 kB / 1.101 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.3088, allocations: 266.4 kB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3088, allocations: 8 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005167/0.3093, allocations: 289.1 kB / 1.101 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3093, allocations: 6.188 kB / 1.102 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3093, allocations: 7.938 kB / 1.102 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3094, allocations: 4.438 kB / 1.102 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3098, allocations: 75.89 kB / 1.102 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.3108, allocations: 1.401 MB / 1.103 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.311, allocations: 35.77 kB / 1.103 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.311, allocations: 16 kB / 1.103 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002728/0.3113, allocations: 196 kB / 1.103 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002349/0.3115, allocations: 178.5 kB / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004154/0.312, allocations: 276.1 kB / 1.104 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.312, allocations: 4 kB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005076/0.3125, allocations: 281.1 kB / 1.104 GB, free: 380 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3125, allocations: 11.98 kB / 1.104 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3125, allocations: 4 kB / 1.104 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.3125, allocations: 4.469 kB / 1.104 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.3129, allocations: 67.91 kB / 1.104 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009264/0.3139, allocations: 1.408 MB / 1.105 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.3141, allocations: 23.89 kB / 1.105 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3141, allocations: 8 kB / 1.105 GB, free: 14.71 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.3142, allocations: 200.1 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.3143, allocations: 27.8 kB / 1.106 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.3143, allocations: 22.19 kB / 1.106 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3143, allocations: 4 kB / 1.106 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3144, allocations: 12.05 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3144, allocations: 7.922 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3154, allocations: 0.739 MB / 1.106 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3154, allocations: 0 / 1.106 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.3158, allocations: 47.91 kB / 1.106 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3158, allocations: 4 kB / 1.106 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3158, allocations: 8 kB / 1.106 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3158, allocations: 0 / 1.106 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3158, allocations: 4 kB / 1.106 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.3162, allocations: 323.4 kB / 1.107 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.3163, allocations: 113 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3164, allocations: 4 kB / 1.107 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3165, allocations: 11.98 kB / 1.107 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.3166, allocations: 19.92 kB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3166, allocations: 8 kB / 1.107 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001374/0.3167, allocations: 160.5 kB / 1.107 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3168, allocations: 0 / 1.107 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005246/0.3173, allocations: 123.7 kB / 1.107 GB, free: 12.75 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0006761/0.318, allocations: 0.8468 MB / 1.108 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009971/0.319, allocations: 328.9 kB / 1.108 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.319, allocations: 384 / 1.108 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.3194, allocations: 99.81 kB / 1.108 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3198, allocations: 49.03 kB / 1.108 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.3227, allocations: 2.585 MB / 1.111 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3231, allocations: 0.7829 MB / 1.112 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.3233, allocations: 65.88 kB / 1.112 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3234, allocations: 67.42 kB / 1.112 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.3234, allocations: 0 / 1.112 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.3471, allocations: 4.869 MB / 1.117 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.1, allocations: 9.562 kB / 1.117 GB, free: 2.949 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches