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.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 189.1 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001077/0.001077, allocations: 102.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8.219 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6269/0.8572, allocations: 162.7 MB / 1.059 GB, free: 155 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8575, allocations: 90.53 kB / 1.059 GB, free: 155 MB / 0.698 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.0427/0.9003, allocations: 16.7 MB / 1.075 GB, free: 151.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/0.9003, allocations: 0 / 1.075 GB, free: 151.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.106e-05/0.9004, allocations: 10.69 kB / 1.075 GB, free: 151.9 MB / 0.698 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.001271/0.9016, allocations: 0.5592 MB / 1.076 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9017, allocations: 8.438 kB / 1.076 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.9027, allocations: 115.6 kB / 1.076 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.9033, allocations: 276 kB / 1.076 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.9034, allocations: 45.86 kB / 1.076 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.9034, allocations: 28.45 kB / 1.076 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.9043, allocations: 414.1 kB / 1.077 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9043, allocations: 3.938 kB / 1.077 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.9043, allocations: 11.92 kB / 1.077 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.9044, allocations: 28.98 kB / 1.077 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.905, allocations: 334.4 kB / 1.077 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.9074, allocations: 2.113 MB / 1.079 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.908, allocations: 197.9 kB / 1.079 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.908, allocations: 5.969 kB / 1.079 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.9081, allocations: 40.48 kB / 1.079 GB, free: 148.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.9081, allocations: 0 / 1.079 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.000704/0.9088, allocations: 276.6 kB / 1.08 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.9088, allocations: 57.25 kB / 1.08 GB, free: 148.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.9091, allocations: 205.6 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.9091, allocations: 28.67 kB / 1.08 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.9092, allocations: 192.5 kB / 1.08 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.9092, allocations: 61.3 kB / 1.08 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.9093, allocations: 4.938 kB / 1.08 GB, free: 148.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.9093, allocations: 327.8 kB / 1.081 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.9095, allocations: 85.44 kB / 1.081 GB, free: 148.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.9098, allocations: 187.4 kB / 1.081 GB, free: 147.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.91, allocations: 116.9 kB / 1.081 GB, free: 147.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9101, allocations: 1.312 kB / 1.081 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005814/0.9106, allocations: 301.3 kB / 1.081 GB, free: 147.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.911, allocations: 1.223 MB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.911, allocations: 7.453 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.911, allocations: 5.906 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.9114, allocations: 72 kB / 1.083 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007689/0.9122, allocations: 1.313 MB / 1.084 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.9124, allocations: 35.28 kB / 1.084 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.9125, allocations: 13.2 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.9125, allocations: 3.781 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004663/0.913, allocations: 257.1 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.913, allocations: 3.969 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.913, allocations: 3.938 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.9134, allocations: 74.77 kB / 1.084 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006294/0.914, allocations: 1.31 MB / 1.085 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.9142, allocations: 39.14 kB / 1.085 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.9142, allocations: 11.84 kB / 1.085 GB, free: 143.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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.0002045/0.9144, allocations: 242 kB / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.9145, allocations: 23.11 kB / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.9146, allocations: 25.73 kB / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9146, allocations: 3.531 kB / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9146, allocations: 0 / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9146, allocations: 0 / 1.086 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/0.9154, allocations: 0.6511 MB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.9154, allocations: 1.562 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.9158, allocations: 55.23 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.9159, allocations: 7.031 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.9159, allocations: 2 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9159, allocations: 2.625 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9159, allocations: 5.094 kB / 1.086 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.9163, allocations: 385.2 kB / 1.087 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.9164, allocations: 116.1 kB / 1.087 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.9165, allocations: 6.172 kB / 1.087 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.9166, allocations: 19.7 kB / 1.087 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.9167, allocations: 10.3 kB / 1.087 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.9167, allocations: 7.719 kB / 1.087 GB, free: 142.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001303/0.9168, allocations: 164.7 kB / 1.087 GB, free: 142.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9168, allocations: 0 / 1.087 GB, free: 142.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005906/0.9174, allocations: 117.9 kB / 1.087 GB, free: 142.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.0001456/0.9176, allocations: 104 kB / 1.087 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.9187, allocations: 345.6 kB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9187, allocations: 0.5625 kB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.919, allocations: 113.5 kB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.9194, allocations: 39.44 kB / 1.088 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.9204, allocations: 0.5878 MB / 1.088 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.9207, allocations: 0.7794 MB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.921, allocations: 64.09 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.921, allocations: 22.7 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/0.921, allocations: 4.438 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of Templates: time 0.006276/0.9273, allocations: 2.122 MB / 1.091 GB, free: 140.1 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