Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.3 MB / 261.8 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 165 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008035/0.0008037, allocations: 86.55 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.389e-05, allocations: 8 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1864, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6644/0.8509, allocations: 162.7 MB / 1.051 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.8512, allocations: 86.56 kB / 1.051 GB, free: 6.441 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.03803/0.8892, allocations: 16.58 MB / 1.067 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8893, allocations: 0 / 1.067 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.8893, allocations: 12 kB / 1.067 GB, free: 8.82 MB / 0.6823 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.0008289/0.8901, allocations: 0.5339 MB / 1.067 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8902, allocations: 12.03 kB / 1.067 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.891, allocations: 108.3 kB / 1.068 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.8914, allocations: 274 kB / 1.068 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.8915, allocations: 53.44 kB / 1.068 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.8915, allocations: 22.94 kB / 1.068 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/0.8921, allocations: 400 kB / 1.068 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8921, allocations: 3.938 kB / 1.068 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.8922, allocations: 14.98 kB / 1.068 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.8922, allocations: 20.55 kB / 1.068 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.8927, allocations: 294.9 kB / 1.069 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.8949, allocations: 2.105 MB / 1.071 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.8953, allocations: 188.2 kB / 1.071 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.8956, allocations: 130.5 kB / 1.071 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.8956, allocations: 7.953 kB / 1.071 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.8957, allocations: 33.94 kB / 1.071 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.8957, allocations: 0 / 1.071 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0003195/0.896, allocations: 162.8 kB / 1.071 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8961, allocations: 55.41 kB / 1.071 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.8963, allocations: 207.9 kB / 1.071 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.8963, allocations: 28.77 kB / 1.071 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.8964, allocations: 194.4 kB / 1.072 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.8965, allocations: 58.17 kB / 1.072 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.8965, allocations: 3.5 kB / 1.072 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8966, allocations: 328.8 kB / 1.072 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.8967, allocations: 57.73 kB / 1.072 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.8969, allocations: 170.1 kB / 1.072 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.897, allocations: 92.8 kB / 1.072 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.897, allocations: 0 / 1.072 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003696/0.8974, allocations: 263.4 kB / 1.073 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005011/0.8979, allocations: 1.309 MB / 1.074 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8979, allocations: 4 kB / 1.074 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.898, allocations: 8 kB / 1.074 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.8984, allocations: 71.33 kB / 1.074 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009574/0.8993, allocations: 1.313 MB / 1.075 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.8995, allocations: 34.86 kB / 1.075 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.8996, allocations: 15.25 kB / 1.075 GB, free: 476 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.8996, allocations: 4.781 kB / 1.075 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003095/0.8999, allocations: 217.6 kB / 1.075 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8999, allocations: 4 kB / 1.075 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.443e-06/0.8999, allocations: 4 kB / 1.075 GB, free: 300 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.9003, allocations: 67.91 kB / 1.076 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009046/0.9013, allocations: 1.32 MB / 1.077 GB, free: 14.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.9015, allocations: 27.25 kB / 1.077 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.9015, allocations: 15.69 kB / 1.077 GB, free: 14.78 MB / 0.698 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.9016, allocations: 131.4 kB / 1.077 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.9017, allocations: 19.81 kB / 1.077 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.9018, allocations: 28.22 kB / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9018, allocations: 0 / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.9018, allocations: 0 / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.9018, allocations: 3.984 kB / 1.077 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.9028, allocations: 0.7029 MB / 1.078 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9028, allocations: 0 / 1.078 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.9033, allocations: 62.89 kB / 1.078 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.9033, allocations: 4 kB / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.9033, allocations: 2.812 kB / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.9033, allocations: 4 kB / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9033, allocations: 160 / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.9037, allocations: 360.8 kB / 1.078 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.9038, allocations: 111.8 kB / 1.078 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.9039, allocations: 11.3 kB / 1.078 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.904, allocations: 7 kB / 1.078 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.9041, allocations: 19.06 kB / 1.078 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.9041, allocations: 11.98 kB / 1.078 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001813/0.9043, allocations: 160 kB / 1.078 GB, free: 13.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9043, allocations: 0 / 1.078 GB, free: 13.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005766/0.9049, allocations: 114.2 kB / 1.079 GB, free: 13.06 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.9051, allocations: 110.2 kB / 1.079 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006852/0.9058, allocations: 283.2 kB / 1.079 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9058, allocations: 0 / 1.079 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.9061, allocations: 83.97 kB / 1.079 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.9064, allocations: 39.22 kB / 1.079 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.907, allocations: 339 kB / 1.079 GB, free: 12.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.9074, allocations: 0.7814 MB / 1.08 GB, free: 11.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.9076, allocations: 69.98 kB / 1.08 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.9076, allocations: 19.44 kB / 1.08 GB, free: 11.42 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.9076, allocations: 0 / 1.08 GB, free: 11.42 MB / 0.698 GB Notification: Performance of Templates: time 0.005553/0.9132, allocations: 2.391 MB / 1.083 GB, free: 9.055 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sen.I,sen.P Variables in the result:conDCDC.VHigh,conDCDC.VLow,conDCDC.conversionFactor,conDCDC.eta,conDCDC.ground_1,conDCDC.ground_2,conDCDC.terminal_n.v[1],conDCDC.v_n,conductor.P_nominal,conductor.V_nominal,conductor.initMode,conductor.linearized,conductor.mode,resistor.P,resistor.P_nominal,resistor.V_nominal,resistor.initMode,resistor.linearized,resistor.mode,sen.I,sen.P,sen.V,sen.terminal_n.v[1],sen.terminal_p.v[1],sou.V,sou.definiteReference,sou.potentialReference,sou.terminal.v[1],time,varLoad_P.duration,varLoad_P.height,varLoad_P.offset,varLoad_P.startTime