Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.P",fileNamePrefix="Buildings_9_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_9_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.001141/0.001141, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001217/0.001217, allocations: 196 kB / 16.91 MB, free: 6.191 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.41 kB / 0.8127 GB, free: 32.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005274/0.2848, allocations: 3.426 MB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2872, allocations: 1.472 MB / 0.9545 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2875, allocations: 4 kB / 0.9546 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.2891, allocations: 0.6662 MB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.2896, allocations: 175.2 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.2902, allocations: 231.5 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/0.2908, allocations: 407.2 kB / 0.956 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005724/0.2914, allocations: 347.7 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.2916, allocations: 163.4 kB / 0.9565 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.292, allocations: 199.3 kB / 0.9567 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.2921, allocations: 28 kB / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.2925, allocations: 235.5 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2926, allocations: 111.6 kB / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2928, allocations: 147.3 kB / 0.9572 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.2933, allocations: 351.2 kB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2933, allocations: 0 / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2933, allocations: 0 / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.2933, allocations: 3.938 kB / 0.9575 GB, free: 1.309 MB / 0.7325 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.0011/0.2944, allocations: 0.6042 MB / 0.9581 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2945, allocations: 8.031 kB / 0.9581 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/0.2952, allocations: 96.56 kB / 0.9582 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.2955, allocations: 272.4 kB / 0.9584 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.2956, allocations: 50.81 kB / 0.9585 GB, free: 192 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.2956, allocations: 24.38 kB / 0.9585 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.2964, allocations: 428.6 kB / 0.9589 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2964, allocations: 0 / 0.9589 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.2964, allocations: 12 kB / 0.9589 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.2965, allocations: 28.55 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.2971, allocations: 333.9 kB / 0.9593 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.2994, allocations: 2.092 MB / 0.9613 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.2999, allocations: 202.6 kB / 0.9615 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.3003, allocations: 136.8 kB / 0.9616 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3003, allocations: 3.938 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3004, allocations: 38.56 kB / 0.9617 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3004, allocations: 0 / 0.9617 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0006201/0.301, allocations: 263.4 kB / 0.9619 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.301, allocations: 55.41 kB / 0.962 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3013, allocations: 225 kB / 0.9622 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3013, allocations: 25.7 kB / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3014, allocations: 191.9 kB / 0.9624 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.3015, allocations: 63.09 kB / 0.9625 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.3016, allocations: 49.7 kB / 0.9625 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3017, allocations: 334.8 kB / 0.9628 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3019, allocations: 80.8 kB / 0.9629 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.3021, allocations: 186.1 kB / 0.9631 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.3026, allocations: 279.2 kB / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3026, allocations: 0 / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005262/0.3031, allocations: 293.2 kB / 0.9636 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3032, allocations: 8 kB / 0.9636 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3032, allocations: 4 kB / 0.9637 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3032, allocations: 11.94 kB / 0.9637 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3036, allocations: 59.91 kB / 0.9637 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.3047, allocations: 1.405 MB / 0.9651 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3049, allocations: 35.89 kB / 0.9651 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.3049, allocations: 11.98 kB / 0.9651 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002659/0.3052, allocations: 192.1 kB / 0.9653 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.3055, allocations: 187 kB / 0.9655 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004341/0.3059, allocations: 277.4 kB / 0.9658 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.3059, allocations: 0 / 0.9658 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005271/0.3065, allocations: 287.5 kB / 0.966 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3065, allocations: 8 kB / 0.966 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3065, allocations: 7.938 kB / 0.9661 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.3065, allocations: 4 kB / 0.9661 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.3069, allocations: 67.89 kB / 0.9661 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009897/0.3079, allocations: 1.409 MB / 0.9675 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3081, allocations: 31.77 kB / 0.9675 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3081, allocations: 19.94 kB / 0.9675 GB, free: 6.102 MB / 0.7481 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.0001159/0.3082, allocations: 188.2 kB / 0.9677 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.3083, allocations: 19.72 kB / 0.9677 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.3084, allocations: 38.11 kB / 0.9678 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3084, allocations: 0 / 0.9678 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3084, allocations: 0 / 0.9678 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3084, allocations: 8.062 kB / 0.9678 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.3094, allocations: 0.7271 MB / 0.9685 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3095, allocations: 16.08 kB / 0.9685 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.3098, allocations: 47.97 kB / 0.9686 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3098, allocations: 4 kB / 0.9686 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3099, allocations: 0 / 0.9686 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3099, allocations: 7.938 kB / 0.9686 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3099, allocations: 0 / 0.9686 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.3103, allocations: 326.5 kB / 0.9689 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3104, allocations: 116.7 kB / 0.969 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3105, allocations: 4 kB / 0.969 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3106, allocations: 8 kB / 0.969 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.3107, allocations: 23.86 kB / 0.969 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3107, allocations: 7.984 kB / 0.969 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001458/0.3109, allocations: 160.5 kB / 0.9692 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3109, allocations: 0 / 0.9692 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005195/0.3114, allocations: 111.7 kB / 0.9693 GB, free: 4.164 MB / 0.7481 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.0001081/0.3115, allocations: 107.2 kB / 0.9694 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3125, allocations: 337 kB / 0.9697 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3126, allocations: 0 / 0.9697 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.3129, allocations: 92.31 kB / 0.9698 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3134, allocations: 52.98 kB / 0.9699 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3147, allocations: 0.6298 MB / 0.9705 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.3152, allocations: 0.7753 MB / 0.9712 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3153, allocations: 19.44 kB / 0.9712 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3153, allocations: 0 / 0.9712 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of Templates: time 0.006628/0.322, allocations: 3.875 MB / 0.975 GB, free: 14.22 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches