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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.000979/0.000979, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006547/0.006547, allocations: 170 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003924, allocations: 13.94 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2935, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.003966/0.2975, allocations: 3.056 MB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2999, allocations: 1.457 MB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.3001, allocations: 11.94 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.3004, allocations: 51.62 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.3009, allocations: 171.3 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.3016, allocations: 235.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.3022, allocations: 0.5653 MB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.3027, allocations: 328.3 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.3029, allocations: 123.5 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.3033, allocations: 187.3 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.3033, allocations: 12 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.3038, allocations: 299.3 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3039, allocations: 95.7 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3041, allocations: 157 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.3046, allocations: 458.6 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3047, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3047, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.3047, allocations: 0 / 1.066 GB, free: 13.67 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.0009973/0.3057, allocations: 0.5536 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3057, allocations: 15.97 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.3059, allocations: 66.7 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.3066, allocations: 108.6 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.307, allocations: 273.1 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.3071, allocations: 50.81 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.3071, allocations: 20.38 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.3078, allocations: 436.8 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3079, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.3079, allocations: 12 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.3079, allocations: 24.55 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.3086, allocations: 349.9 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.3108, allocations: 2.107 MB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.3113, allocations: 206.7 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.3117, allocations: 146.3 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3117, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3118, allocations: 42.5 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.3118, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006618/0.3124, allocations: 277.1 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3125, allocations: 51.41 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.3127, allocations: 225 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3127, allocations: 29.7 kB / 1.071 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3128, allocations: 187.9 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.3129, allocations: 63.09 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3129, allocations: 33.7 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.313, allocations: 334.8 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3132, allocations: 71.95 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.3135, allocations: 189.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.3139, allocations: 278.8 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.314, allocations: 4 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005454/0.3145, allocations: 307.1 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.3146, allocations: 189.1 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3146, allocations: 4 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3147, allocations: 4 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.3151, allocations: 67.91 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.316, allocations: 1.317 MB / 1.074 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3162, allocations: 39.67 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3163, allocations: 8 kB / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.3163, allocations: 4 kB / 1.074 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004765/0.3167, allocations: 256.8 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3168, allocations: 3.938 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.3168, allocations: 12.38 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3172, allocations: 71.89 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.318, allocations: 1.306 MB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3182, allocations: 35.67 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3182, allocations: 12 kB / 1.075 GB, free: 3.129 MB / 0.8262 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.0001691/0.3184, allocations: 233.5 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3185, allocations: 23.8 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.3185, allocations: 26.19 kB / 1.076 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3185, allocations: 4 kB / 1.076 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3186, allocations: 4.062 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3186, allocations: 3.984 kB / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.3195, allocations: 0.7426 MB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3195, allocations: 0 / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.3199, allocations: 55.91 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3199, allocations: 4 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3199, allocations: 8 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.32, allocations: 8.031 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.32, allocations: 11.94 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.3204, allocations: 327.4 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.3205, allocations: 112.8 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3205, allocations: 4 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3207, allocations: 19.92 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.3207, allocations: 19.98 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3208, allocations: 4 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000128/0.3209, allocations: 160.5 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3209, allocations: 0 / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005457/0.3214, allocations: 119.6 kB / 1.077 GB, free: 1.105 MB / 0.8262 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.0006786/0.3221, allocations: 0.8586 MB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009878/0.3231, allocations: 350.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3231, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.3235, allocations: 100.8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.324, allocations: 48.39 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.327, allocations: 2.716 MB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.3273, allocations: 0.7714 MB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.3275, allocations: 61.89 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3276, allocations: 71.41 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3277, allocations: 0 / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.3427, allocations: 4.4 MB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.3429, allocations: 249.3 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.195, allocations: 2.391 kB / 1.086 GB, free: 7.422 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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