Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_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.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 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.001875/0.001875, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 70.69 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004745/0.2729, allocations: 3.384 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2752, allocations: 1.484 MB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.2754, allocations: 4 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2769, allocations: 0.6912 MB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.2774, allocations: 195.1 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.278, allocations: 243.4 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.2785, allocations: 419.1 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.279, allocations: 304 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.2793, allocations: 155.5 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.2796, allocations: 191.3 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.2797, allocations: 28 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.2801, allocations: 235.4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2802, allocations: 111.7 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2804, allocations: 139.3 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.2809, allocations: 446.6 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.281, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.281, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.281, allocations: 4 kB / 1.071 GB, free: 6.566 MB / 0.8262 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.0009417/0.2819, allocations: 0.6043 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.282, allocations: 12.03 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.282, allocations: 66.66 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.2827, allocations: 104.5 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2831, allocations: 276.5 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.2831, allocations: 50.77 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.2832, allocations: 24.38 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.2839, allocations: 424.4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2839, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2839, allocations: 15.98 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.284, allocations: 28.55 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.2846, allocations: 325.9 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.2868, allocations: 2.092 MB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.2873, allocations: 206.7 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2877, allocations: 132.8 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2877, allocations: 4 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2877, allocations: 34.56 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.2878, allocations: 0 / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006353/0.2884, allocations: 257.1 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.2884, allocations: 55.39 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2887, allocations: 228.9 kB / 1.076 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2887, allocations: 29.7 kB / 1.076 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2888, allocations: 195.9 kB / 1.076 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.2889, allocations: 55.2 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.289, allocations: 57.61 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2891, allocations: 334.8 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.2893, allocations: 80.8 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.2895, allocations: 182.1 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.29, allocations: 278.4 kB / 1.077 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.29, allocations: 4 kB / 1.077 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005385/0.2905, allocations: 290.7 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2905, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2906, allocations: 7.938 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2906, allocations: 8.422 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.291, allocations: 71.84 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.292, allocations: 1.404 MB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2922, allocations: 35.59 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2923, allocations: 16 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002597/0.2925, allocations: 192 kB / 1.079 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002321/0.2928, allocations: 182.6 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004134/0.2932, allocations: 266.4 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.2932, allocations: 4 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005302/0.2937, allocations: 286.8 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.2938, allocations: 4 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2938, allocations: 8.453 kB / 1.08 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.2938, allocations: 12 kB / 1.08 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.2942, allocations: 71.84 kB / 1.08 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009753/0.2952, allocations: 1.412 MB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2954, allocations: 27.73 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2954, allocations: 16 kB / 1.082 GB, free: 11.27 MB / 0.8419 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.0001256/0.2956, allocations: 192.2 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.2956, allocations: 27.81 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.2957, allocations: 26.17 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2957, allocations: 4 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2957, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2957, allocations: 0 / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2968, allocations: 0.7387 MB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2968, allocations: 0 / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.2971, allocations: 47.91 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2972, allocations: 4 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2972, allocations: 11.98 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2972, allocations: 0 / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2972, allocations: 4.156 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.2976, allocations: 317.5 kB / 1.083 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.919e-05/0.2977, allocations: 116.8 kB / 1.083 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2978, allocations: 8 kB / 1.083 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2979, allocations: 7.984 kB / 1.083 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.298, allocations: 19.92 kB / 1.083 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.298, allocations: 4 kB / 1.083 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001433/0.2982, allocations: 164.4 kB / 1.083 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2982, allocations: 4 kB / 1.083 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005371/0.2987, allocations: 119.6 kB / 1.083 GB, free: 9.34 MB / 0.8419 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.0006741/0.2994, allocations: 0.853 MB / 1.084 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.3004, allocations: 334.5 kB / 1.084 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3004, allocations: 0 / 1.084 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.3008, allocations: 91.83 kB / 1.085 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3012, allocations: 64.14 kB / 1.085 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.3044, allocations: 2.559 MB / 1.087 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3048, allocations: 0.783 MB / 1.088 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000189/0.305, allocations: 57.89 kB / 1.088 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3051, allocations: 75.41 kB / 1.088 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3051, allocations: 0 / 1.088 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.3279, allocations: 4.764 MB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.09, allocations: 13.88 kB / 1.093 GB, free: 15.65 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches