Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_11_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.007818/0.007818, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001966/0.001966, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 64.12 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3116, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005061/0.3167, allocations: 3.384 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3191, allocations: 1.484 MB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3193, allocations: 7.938 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3208, allocations: 0.6814 MB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.3212, allocations: 195 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.3218, allocations: 247.4 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.3223, allocations: 415.1 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.3228, allocations: 295.8 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.323, allocations: 163.4 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.3233, allocations: 191.3 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.3234, allocations: 24 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.3238, allocations: 235.4 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3239, allocations: 103.8 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.324, allocations: 147.3 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3246, allocations: 458.2 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3247, allocations: 4 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3247, allocations: 4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3247, allocations: 0 / 1.228 GB, free: 6.328 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.001042/0.3257, allocations: 0.6115 MB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3258, allocations: 8.031 kB / 1.229 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/0.3259, allocations: 70.66 kB / 1.229 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/0.3266, allocations: 104.7 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.327, allocations: 281.2 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.327, allocations: 50.83 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.3271, allocations: 28.36 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.3278, allocations: 420.4 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3278, allocations: 7.938 kB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3278, allocations: 11.98 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.3279, allocations: 36.53 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.3285, allocations: 318 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.3308, allocations: 2.085 MB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.3313, allocations: 206.7 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.3316, allocations: 132.7 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3317, allocations: 4 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3317, allocations: 30.56 kB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.3317, allocations: 0 / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006433/0.3324, allocations: 263.2 kB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3324, allocations: 59.31 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3327, allocations: 228.9 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3327, allocations: 33.7 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3328, allocations: 200.2 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.3329, allocations: 59.48 kB / 1.233 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.333, allocations: 53.7 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3331, allocations: 334.8 kB / 1.233 GB, free: 328 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3333, allocations: 84.8 kB / 1.233 GB, free: 240 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3336, allocations: 186.1 kB / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3341, allocations: 270.8 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3341, allocations: 3.938 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005366/0.3346, allocations: 293.3 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3346, allocations: 10.34 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3347, allocations: 3.938 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3347, allocations: 8 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.3351, allocations: 63.89 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.3362, allocations: 1.401 MB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3364, allocations: 39.72 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3364, allocations: 12 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002715/0.3367, allocations: 196.1 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002484/0.3369, allocations: 182.5 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004893/0.3374, allocations: 271.2 kB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3375, allocations: 0 / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005364/0.338, allocations: 289.4 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.338, allocations: 8 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.338, allocations: 4 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.338, allocations: 4 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3384, allocations: 67.91 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3395, allocations: 1.42 MB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3397, allocations: 27.88 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.3397, allocations: 12 kB / 1.238 GB, free: 11.02 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.0001364/0.3398, allocations: 206.7 kB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3399, allocations: 23.8 kB / 1.238 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3399, allocations: 30.17 kB / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3399, allocations: 0 / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.34, allocations: 0 / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.34, allocations: 0 / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.341, allocations: 0.7389 MB / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.341, allocations: 0 / 1.239 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.3414, allocations: 51.91 kB / 1.239 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3414, allocations: 0 / 1.239 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3414, allocations: 8 kB / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3414, allocations: 0 / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3415, allocations: 8.156 kB / 1.239 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.3419, allocations: 323.5 kB / 1.239 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.342, allocations: 104.9 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.342, allocations: 8 kB / 1.24 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3422, allocations: 7.984 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3422, allocations: 19.92 kB / 1.24 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3423, allocations: 4 kB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001447/0.3424, allocations: 164.5 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005027/0.3429, allocations: 127.7 kB / 1.24 GB, free: 9.07 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.0007278/0.3437, allocations: 0.8589 MB / 1.241 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000974/0.3446, allocations: 339.8 kB / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3446, allocations: 0 / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.345, allocations: 91.81 kB / 1.241 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3454, allocations: 60.48 kB / 1.241 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.3486, allocations: 2.582 MB / 1.244 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.349, allocations: 0.7791 MB / 1.244 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.3491, allocations: 57.89 kB / 1.244 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3493, allocations: 67.42 kB / 1.245 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3493, allocations: 0 / 1.245 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/0.9303, allocations: 4.86 MB / 1.249 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.69, allocations: 10.39 kB / 1.249 GB, free: 29.45 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches