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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007343/0.007343, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001726/0.001726, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3045, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005029/0.3096, allocations: 3.384 MB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3121, allocations: 1.484 MB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.3124, allocations: 7.938 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.314, allocations: 0.6815 MB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005597/0.3146, allocations: 199 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.3153, allocations: 246.2 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.3159, allocations: 415.2 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.3164, allocations: 295.8 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3167, allocations: 163.5 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000381/0.3171, allocations: 191.2 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.3171, allocations: 28 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.3176, allocations: 239.4 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3177, allocations: 107.8 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3179, allocations: 147.3 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.3185, allocations: 458.2 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3185, allocations: 0 / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3185, allocations: 0 / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.3186, allocations: 4 kB / 1.228 GB, free: 6.645 MB / 0.9825 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.001109/0.3197, allocations: 0.6037 MB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3197, allocations: 12.03 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.054e-05/0.3198, allocations: 62.72 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/0.3205, allocations: 112.6 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.321, allocations: 284.5 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.321, allocations: 50.83 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.3211, allocations: 24.36 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.3218, allocations: 424.4 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3218, allocations: 4 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.3218, allocations: 15.98 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.3219, allocations: 28.48 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.3225, allocations: 326 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.3247, allocations: 2.081 MB / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.3252, allocations: 206.6 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.3256, allocations: 130.6 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3256, allocations: 7.984 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3256, allocations: 38.56 kB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.3256, allocations: 0 / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006266/0.3263, allocations: 257.3 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3263, allocations: 55.31 kB / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3266, allocations: 232.9 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3266, allocations: 33.7 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3267, allocations: 196.3 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.3268, allocations: 59.48 kB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.3268, allocations: 53.7 kB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.327, allocations: 334.8 kB / 1.233 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3271, allocations: 84.78 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.3274, allocations: 186.1 kB / 1.233 GB, free: 336 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3278, allocations: 270.5 kB / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3278, allocations: 0 / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005545/0.3284, allocations: 298.8 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3284, allocations: 4 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3284, allocations: 11.88 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3285, allocations: 4.438 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.3289, allocations: 67.91 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.3299, allocations: 1.401 MB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3301, allocations: 39.72 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3302, allocations: 12 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000264/0.3304, allocations: 196 kB / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.3307, allocations: 178.5 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003947/0.3311, allocations: 265.5 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.3311, allocations: 4 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.000518/0.3316, allocations: 291.4 kB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3316, allocations: 8 kB / 1.236 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3317, allocations: 4 kB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.3317, allocations: 4.469 kB / 1.236 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.3321, allocations: 75.89 kB / 1.236 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/0.333, allocations: 1.416 MB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.3332, allocations: 27.88 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3333, allocations: 12 kB / 1.238 GB, free: 11.34 MB / 0.9981 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.0001257/0.3334, allocations: 200.1 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.3335, allocations: 27.8 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3335, allocations: 26.17 kB / 1.238 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3335, allocations: 4 kB / 1.238 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3335, allocations: 4.062 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3335, allocations: 0 / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3346, allocations: 0.735 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3346, allocations: 4.156 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.3349, allocations: 51.89 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.335, allocations: 4 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.335, allocations: 4 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.335, allocations: 0 / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.335, allocations: 4 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.3354, allocations: 321.5 kB / 1.239 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3355, allocations: 112.9 kB / 1.239 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3356, allocations: 8 kB / 1.239 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3357, allocations: 4 kB / 1.239 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.3358, allocations: 23.92 kB / 1.239 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3358, allocations: 7.984 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001556/0.336, allocations: 160.5 kB / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.336, allocations: 0 / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005302/0.3365, allocations: 115.7 kB / 1.239 GB, free: 9.398 MB / 0.9981 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.0006803/0.3372, allocations: 0.8685 MB / 1.24 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009767/0.3382, allocations: 333 kB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3382, allocations: 0 / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.3386, allocations: 100.1 kB / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.339, allocations: 52.23 kB / 1.241 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.3422, allocations: 2.574 MB / 1.243 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.3425, allocations: 0.7752 MB / 1.244 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.3427, allocations: 65.88 kB / 1.244 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3428, allocations: 71.41 kB / 1.244 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.3428, allocations: 0 / 1.244 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6109/0.9537, allocations: 4.87 MB / 1.249 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.05, allocations: 7.906 kB / 1.249 GB, free: 29.28 MB / 0.9981 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