Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_10_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.006812/0.006812, allocations: 100.9 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.001538/0.001538, allocations: 199 kB / 16.68 MB, free: 5.965 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.417/1.417, 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 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2909, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005235/0.2962, allocations: 3.367 MB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2987, allocations: 1.492 MB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.299, allocations: 11.88 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.301, allocations: 0.6893 MB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.3016, allocations: 195 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.3024, allocations: 251.5 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.3031, allocations: 407.2 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.3036, allocations: 300 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.3039, allocations: 159.5 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.3043, allocations: 199.2 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.3043, allocations: 24 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.3048, allocations: 235.6 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.305, allocations: 111.6 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3052, allocations: 143.3 kB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.306, allocations: 466.3 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.306, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.306, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.306, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 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.001437/0.3075, allocations: 0.6076 MB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3075, allocations: 8.031 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.3076, allocations: 66.72 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.3084, allocations: 112.6 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.3089, allocations: 277.3 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.309, allocations: 46.83 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.3091, allocations: 32.36 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.3098, allocations: 420.5 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3098, allocations: 7.938 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.3099, allocations: 8 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.3099, allocations: 32.55 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.3105, allocations: 325.9 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.3129, allocations: 2.1 MB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.3135, allocations: 198.7 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3138, allocations: 132.8 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3139, allocations: 0 / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3139, allocations: 38.48 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.3139, allocations: 0 / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0006443/0.3145, allocations: 259.2 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3146, allocations: 59.39 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.3148, allocations: 225 kB / 1.179 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3149, allocations: 29.7 kB / 1.179 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.315, allocations: 192.3 kB / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.3151, allocations: 67.42 kB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3152, allocations: 53.7 kB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3153, allocations: 334.8 kB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3155, allocations: 76.81 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3157, allocations: 181.6 kB / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.3162, allocations: 274.7 kB / 1.18 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3162, allocations: 0 / 1.18 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005225/0.3167, allocations: 293.2 kB / 1.18 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3167, allocations: 9.875 kB / 1.18 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3167, allocations: 11.91 kB / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3168, allocations: 8 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.3172, allocations: 59.91 kB / 1.18 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.3182, allocations: 1.412 MB / 1.182 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3184, allocations: 35.73 kB / 1.182 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3184, allocations: 15.94 kB / 1.182 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002537/0.3187, allocations: 196.2 kB / 1.182 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002334/0.3189, allocations: 191 kB / 1.182 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003866/0.3193, allocations: 271.1 kB / 1.182 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.3193, allocations: 0 / 1.182 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0004937/0.3198, allocations: 281.4 kB / 1.183 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3199, allocations: 8 kB / 1.183 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3199, allocations: 4 kB / 1.183 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.3199, allocations: 4 kB / 1.183 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.3203, allocations: 75.89 kB / 1.183 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009019/0.3212, allocations: 1.397 MB / 1.184 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.3214, allocations: 31.83 kB / 1.184 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.3214, allocations: 16 kB / 1.184 GB, free: 3.996 MB / 0.9356 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.0001195/0.3215, allocations: 200.3 kB / 1.184 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3216, allocations: 27.73 kB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.3216, allocations: 30.17 kB / 1.184 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3217, allocations: 3.938 kB / 1.184 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.3217, allocations: 0 / 1.184 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3217, allocations: 0 / 1.184 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3227, allocations: 0.735 MB / 1.185 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3227, allocations: 0 / 1.185 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3231, allocations: 51.91 kB / 1.185 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3231, allocations: 7.969 kB / 1.185 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3231, allocations: 8 kB / 1.185 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3231, allocations: 4.156 kB / 1.185 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3231, allocations: 4 kB / 1.185 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.3235, allocations: 319.5 kB / 1.185 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/0.3236, allocations: 105 kB / 1.186 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3237, allocations: 8 kB / 1.186 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3238, allocations: 7.984 kB / 1.186 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3239, allocations: 19.92 kB / 1.186 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3239, allocations: 4 kB / 1.186 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001405/0.324, allocations: 164.5 kB / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3241, allocations: 4 kB / 1.186 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005234/0.3246, allocations: 123.7 kB / 1.186 GB, free: 2.039 MB / 0.9356 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.0006758/0.3253, allocations: 0.8632 MB / 1.187 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009529/0.3262, allocations: 322.6 kB / 1.187 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3262, allocations: 0 / 1.187 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.3266, allocations: 97.19 kB / 1.187 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.327, allocations: 50.92 kB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.3304, allocations: 2.592 MB / 1.19 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.3307, allocations: 0.7753 MB / 1.19 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.3309, allocations: 61.88 kB / 1.19 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.3311, allocations: 71.41 kB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.3311, allocations: 0 / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3534, allocations: 4.882 MB / 1.195 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 0 / 1.195 GB, free: 8.234 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches