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: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004849/0.004849, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001154/0.001154, allocations: 192.2 kB / 16.78 MB, free: 5.809 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.373/1.373, allocations: 222.9 MB / 240.5 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7348 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.72 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005332/0.2854, allocations: 3.418 MB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.2879, allocations: 1.492 MB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.2881, allocations: 7.938 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.2897, allocations: 0.6766 MB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.2903, allocations: 171.3 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.2909, allocations: 227.5 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.2915, allocations: 0.5615 MB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.2919, allocations: 203.8 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.2921, allocations: 143.5 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.2925, allocations: 195.3 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.2926, allocations: 16 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.2931, allocations: 303.3 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2932, allocations: 103.7 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.2934, allocations: 139.3 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.2938, allocations: 347.5 kB / 1.061 GB, free: 284 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2938, allocations: 0 / 1.061 GB, free: 284 kB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2939, allocations: 0 / 1.061 GB, free: 284 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.2939, allocations: 0 / 1.061 GB, free: 284 kB / 0.8106 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.001111/0.295, allocations: 0.6043 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.295, allocations: 8.031 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.2958, allocations: 108.4 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.2961, allocations: 269.2 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.2962, allocations: 50.81 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2963, allocations: 28.36 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.297, allocations: 428.6 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.297, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.297, allocations: 12 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.2971, allocations: 36.48 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.2977, allocations: 326 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3001, allocations: 2.096 MB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.3007, allocations: 200.2 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.301, allocations: 136.8 kB / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.3011, allocations: 0 / 1.065 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3011, allocations: 38.56 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.3011, allocations: 4 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0006506/0.3018, allocations: 258.6 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3018, allocations: 55.41 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3021, allocations: 225 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3021, allocations: 25.7 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3022, allocations: 195.8 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.3023, allocations: 71.08 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.3024, allocations: 53.61 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3025, allocations: 326.8 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3027, allocations: 84.78 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.303, allocations: 182.2 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.3034, allocations: 270.2 kB / 1.066 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3034, allocations: 3.938 kB / 1.066 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005441/0.304, allocations: 293 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.304, allocations: 8 kB / 1.067 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.304, allocations: 4 kB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.304, allocations: 7.938 kB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.3045, allocations: 64.34 kB / 1.067 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.3055, allocations: 1.314 MB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3058, allocations: 35.67 kB / 1.068 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3058, allocations: 12.16 kB / 1.068 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002787/0.3061, allocations: 196.1 kB / 1.068 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002513/0.3063, allocations: 187 kB / 1.068 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004038/0.3068, allocations: 272.1 kB / 1.069 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.3068, allocations: 0 / 1.069 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005335/0.3073, allocations: 289 kB / 1.069 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3073, allocations: 9.875 kB / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3073, allocations: 4 kB / 1.069 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.81e-06/0.3073, allocations: 4 kB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3077, allocations: 71.89 kB / 1.069 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/0.3087, allocations: 1.302 MB / 1.07 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3089, allocations: 31.83 kB / 1.07 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.3089, allocations: 12 kB / 1.07 GB, free: 5.281 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.0001479/0.3091, allocations: 204.2 kB / 1.071 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.3091, allocations: 19.72 kB / 1.071 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.3092, allocations: 30.17 kB / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3092, allocations: 0 / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3092, allocations: 0 / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3092, allocations: 0 / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3102, allocations: 0.7426 MB / 1.071 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3103, allocations: 4 kB / 1.071 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.3106, allocations: 43.97 kB / 1.071 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.3106, allocations: 7.922 kB / 1.071 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3107, allocations: 11.94 kB / 1.071 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3107, allocations: 4 kB / 1.071 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3107, allocations: 4.156 kB / 1.071 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3111, allocations: 315.4 kB / 1.072 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.3112, allocations: 112.8 kB / 1.072 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3113, allocations: 4 kB / 1.072 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3114, allocations: 15.98 kB / 1.072 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3115, allocations: 15.98 kB / 1.072 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3115, allocations: 4 kB / 1.072 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001492/0.3116, allocations: 164.5 kB / 1.072 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3117, allocations: 0 / 1.072 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005614/0.3122, allocations: 127.5 kB / 1.072 GB, free: 3.32 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.0001132/0.3123, allocations: 99.19 kB / 1.072 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.3134, allocations: 330.5 kB / 1.073 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3134, allocations: 0 / 1.073 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.3138, allocations: 95.81 kB / 1.073 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3142, allocations: 55.33 kB / 1.073 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.3152, allocations: 0.6214 MB / 1.073 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3156, allocations: 0.7755 MB / 1.074 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.3156, allocations: 23.44 kB / 1.074 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3156, allocations: 4 kB / 1.074 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.00634/0.322, allocations: 3.86 MB / 1.078 GB, free: 13.4 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (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 & ./Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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