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.007851/0.007851, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001763/0.001763, allocations: 187 kB / 16.67 MB, free: 5.883 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 58.94 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2678, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004535/0.2724, allocations: 3.367 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.2747, allocations: 1.495 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2749, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.2763, allocations: 0.6931 MB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.2768, allocations: 183.1 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.2774, allocations: 251.4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.2778, allocations: 411.1 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.2783, allocations: 310.6 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2785, allocations: 155.5 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.2788, allocations: 195.3 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.2788, allocations: 28 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.2792, allocations: 235.4 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2793, allocations: 103.8 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2794, allocations: 151.2 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.2799, allocations: 455.4 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2799, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.28, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.28, allocations: 4 kB / 1.095 GB, free: 9.984 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.000938/0.2809, allocations: 0.5982 MB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.281, allocations: 8.031 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.491e-05/0.281, allocations: 62.73 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.2817, allocations: 108.5 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.2821, allocations: 280.5 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.2822, allocations: 54.75 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.2822, allocations: 20.38 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.2829, allocations: 428.4 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2829, allocations: 0 / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.283, allocations: 12 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.283, allocations: 24.55 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.2836, allocations: 333.9 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.2857, allocations: 2.088 MB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.2863, allocations: 194.7 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.2866, allocations: 132.8 kB / 1.099 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.2867, allocations: 7.984 kB / 1.099 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2867, allocations: 34.56 kB / 1.099 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2867, allocations: 0 / 1.099 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0006243/0.2873, allocations: 262.6 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2874, allocations: 55.41 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.2876, allocations: 229 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2876, allocations: 29.7 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2878, allocations: 195.8 kB / 1.1 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.2878, allocations: 59.19 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.2879, allocations: 53.61 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.288, allocations: 326.8 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2882, allocations: 92.78 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2884, allocations: 182.2 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.2889, allocations: 274.3 kB / 1.101 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2889, allocations: 0 / 1.101 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005347/0.2894, allocations: 289.4 kB / 1.101 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2895, allocations: 12 kB / 1.101 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2895, allocations: 7.938 kB / 1.101 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2895, allocations: 4 kB / 1.101 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.2899, allocations: 67.89 kB / 1.102 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2909, allocations: 1.404 MB / 1.103 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.2912, allocations: 39.58 kB / 1.103 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.2912, allocations: 12 kB / 1.103 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002717/0.2915, allocations: 192 kB / 1.103 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002435/0.2917, allocations: 182.6 kB / 1.103 GB, free: 1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004065/0.2921, allocations: 276.9 kB / 1.104 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2922, allocations: 0 / 1.104 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005072/0.2927, allocations: 281.4 kB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2927, allocations: 14.22 kB / 1.104 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2927, allocations: 4 kB / 1.104 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.2927, allocations: 11.98 kB / 1.104 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2931, allocations: 63.84 kB / 1.104 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.2941, allocations: 1.408 MB / 1.105 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2943, allocations: 27.75 kB / 1.105 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2944, allocations: 16 kB / 1.105 GB, free: 14.72 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.0001485/0.2945, allocations: 192.3 kB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2946, allocations: 31.75 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.2946, allocations: 22.19 kB / 1.106 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2947, allocations: 4 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2947, allocations: 0 / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2947, allocations: 3.984 kB / 1.106 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2957, allocations: 0.7348 MB / 1.106 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2958, allocations: 4 kB / 1.106 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.2961, allocations: 43.97 kB / 1.106 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.2961, allocations: 4 kB / 1.106 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2961, allocations: 0 / 1.106 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.2962, allocations: 7.938 kB / 1.106 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2962, allocations: 0 / 1.106 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.2966, allocations: 319.6 kB / 1.107 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.2967, allocations: 124.7 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2967, allocations: 4 kB / 1.107 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2969, allocations: 11.98 kB / 1.107 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.2969, allocations: 19.86 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2969, allocations: 8 kB / 1.107 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001336/0.2971, allocations: 160.5 kB / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2971, allocations: 0 / 1.107 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005283/0.2976, allocations: 111.7 kB / 1.107 GB, free: 12.8 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.0006739/0.2983, allocations: 0.8646 MB / 1.108 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.2993, allocations: 334.9 kB / 1.108 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2994, allocations: 0 / 1.108 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.2997, allocations: 95.81 kB / 1.108 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3002, allocations: 48.66 kB / 1.108 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3032, allocations: 2.574 MB / 1.111 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3036, allocations: 0.7867 MB / 1.112 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.3038, allocations: 57.89 kB / 1.112 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.3039, allocations: 67.42 kB / 1.112 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.3039, allocations: 0 / 1.112 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.3271, allocations: 4.87 MB / 1.117 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 11.09 kB / 1.117 GB, free: 2.988 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