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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.938 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.001015/0.001016, allocations: 187.3 kB / 316.3 MB, free: 3.227 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.479/1.479, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008391/0.0008391, allocations: 88.23 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.557e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6784/0.8541, allocations: 163 MB / 1.044 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.8543, allocations: 82.7 kB / 1.044 GB, free: 9.227 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.03778/0.8921, allocations: 16.51 MB / 1.061 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8921, allocations: 0 / 1.061 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.8922, allocations: 8 kB / 1.061 GB, free: 11.78 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.0008215/0.893, allocations: 0.5353 MB / 1.061 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.893, allocations: 12.03 kB / 1.061 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.8938, allocations: 104.3 kB / 1.061 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.8942, allocations: 285.2 kB / 1.061 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.8943, allocations: 38.27 kB / 1.062 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.8943, allocations: 12 kB / 1.062 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004172/0.8948, allocations: 272.1 kB / 1.062 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.8953, allocations: 360.1 kB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.8953, allocations: 4 kB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.8953, allocations: 0 / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.8954, allocations: 24.11 kB / 1.062 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.8975, allocations: 2.045 MB / 1.064 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.8979, allocations: 171.2 kB / 1.064 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.8982, allocations: 118.2 kB / 1.064 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.8982, allocations: 0 / 1.064 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.8983, allocations: 38.31 kB / 1.064 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.8983, allocations: 0 / 1.064 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0003124/0.8986, allocations: 159.7 kB / 1.065 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.8986, allocations: 59.31 kB / 1.065 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.8988, allocations: 169.1 kB / 1.065 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.8988, allocations: 25.7 kB / 1.065 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.8989, allocations: 199.5 kB / 1.065 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.899, allocations: 58.98 kB / 1.065 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.899, allocations: 0 / 1.065 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8991, allocations: 329.8 kB / 1.065 GB, free: 7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.8992, allocations: 53.8 kB / 1.065 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.8994, allocations: 164.2 kB / 1.066 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.8995, allocations: 77.92 kB / 1.066 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8995, allocations: 0 / 1.066 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003422/0.8999, allocations: 233.1 kB / 1.066 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.9005, allocations: 1.321 MB / 1.067 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9005, allocations: 4 kB / 1.067 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9005, allocations: 4 kB / 1.067 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.901, allocations: 71.89 kB / 1.067 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.9021, allocations: 1.269 MB / 1.069 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.9023, allocations: 31.67 kB / 1.069 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.9023, allocations: 10.72 kB / 1.069 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.9023, allocations: 8 kB / 1.069 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003015/0.9027, allocations: 171.2 kB / 1.069 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9027, allocations: 11.94 kB / 1.069 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.9027, allocations: 8.438 kB / 1.069 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.9031, allocations: 71.03 kB / 1.069 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008955/0.904, allocations: 1.254 MB / 1.07 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.9042, allocations: 27.98 kB / 1.07 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.9042, allocations: 11.38 kB / 1.07 GB, free: 2.062 MB / 0.6823 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.0001089/0.9043, allocations: 116.8 kB / 1.07 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.9044, allocations: 19.72 kB / 1.07 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.9044, allocations: 31.72 kB / 1.07 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9044, allocations: 4 kB / 1.07 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.9045, allocations: 0 / 1.07 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9045, allocations: 0 / 1.07 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/0.9053, allocations: 0.6437 MB / 1.071 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9053, allocations: 0 / 1.071 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.9057, allocations: 56.06 kB / 1.071 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.9057, allocations: 4 kB / 1.071 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.9057, allocations: 8 kB / 1.071 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9057, allocations: 0 / 1.071 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9057, allocations: 4 kB / 1.071 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.906, allocations: 343.4 kB / 1.071 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.9061, allocations: 112.7 kB / 1.071 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.9061, allocations: 8 kB / 1.071 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.9063, allocations: 11.98 kB / 1.071 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.9063, allocations: 11.42 kB / 1.071 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.9063, allocations: 11.94 kB / 1.071 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.953e-05/0.9064, allocations: 132.5 kB / 1.072 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.342e-06/0.9064, allocations: 0 / 1.072 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005014/0.9069, allocations: 119.5 kB / 1.072 GB, free: 452 kB / 0.6823 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.0001115/0.9071, allocations: 102.1 kB / 1.072 GB, free: 340 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000625/0.9077, allocations: 255.2 kB / 1.072 GB, free: 148 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9077, allocations: 5.75 kB / 1.072 GB, free: 144 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.908, allocations: 73.59 kB / 1.072 GB, free: 88 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.9083, allocations: 40.61 kB / 1.072 GB, free: 52 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.9089, allocations: 331.5 kB / 1.072 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.9092, allocations: 0.7854 MB / 1.073 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.9094, allocations: 58.02 kB / 1.073 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.9095, allocations: 19.44 kB / 1.073 GB, free: 14.85 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.9095, allocations: 0 / 1.073 GB, free: 14.85 MB / 0.698 GB Notification: Performance of Templates: time 0.004921/0.9144, allocations: 2.176 MB / 1.075 GB, free: 12.7 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,conductor.P_nominal,conductor.V_nominal,conductor.initMode,conductor.linearized,conductor.mode,resistor.P_nominal,resistor.V_nominal,resistor.initMode,resistor.linearized,resistor.mode,sen.I,sen.P,sou.V,sou.definiteReference,sou.potentialReference,time,varLoad_P.duration,varLoad_P.height,varLoad_P.offset,varLoad_P.startTime