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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.17/1.17, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009929/0.0009929, allocations: 184.5 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9997/0.9997, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0007931/0.0007931, allocations: 86.27 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.11e-06/5.14e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.544, allocations: 163 MB / 1.044 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.5442, allocations: 88.25 kB / 1.044 GB, free: 9.988 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: time 0.03384/0.5781, allocations: 16.13 MB / 1.06 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.5781, allocations: 8 kB / 1.06 GB, free: 12.91 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.0006723/0.5788, allocations: 0.541 MB / 1.06 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.5788, allocations: 12.03 kB / 1.06 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.5796, allocations: 111.4 kB / 1.06 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.58, allocations: 276.2 kB / 1.06 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.58, allocations: 46.3 kB / 1.061 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.5801, allocations: 16 kB / 1.061 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003882/0.5805, allocations: 276.1 kB / 1.061 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.5809, allocations: 371.1 kB / 1.061 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5809, allocations: 0 / 1.061 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.581, allocations: 4 kB / 1.061 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.581, allocations: 24.64 kB / 1.061 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.583, allocations: 2.054 MB / 1.063 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.5833, allocations: 174.4 kB / 1.063 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.5835, allocations: 121.1 kB / 1.063 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5836, allocations: 0 / 1.063 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5836, allocations: 38.5 kB / 1.064 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.001e-06/0.5836, allocations: 0 / 1.064 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0002955/0.5839, allocations: 156.1 kB / 1.064 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.5839, allocations: 55.41 kB / 1.064 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5841, allocations: 174 kB / 1.064 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.5841, allocations: 25.7 kB / 1.064 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.5842, allocations: 185.6 kB / 1.064 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.5842, allocations: 54.95 kB / 1.064 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.5842, allocations: 0 / 1.064 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5844, allocations: 333.4 kB / 1.064 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.5844, allocations: 54.55 kB / 1.064 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.5846, allocations: 168.3 kB / 1.065 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5847, allocations: 81.48 kB / 1.065 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5847, allocations: 3.938 kB / 1.065 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003177/0.585, allocations: 231.5 kB / 1.065 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.5855, allocations: 1.316 MB / 1.066 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5855, allocations: 4 kB / 1.066 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5855, allocations: 4 kB / 1.066 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.5859, allocations: 78.95 kB / 1.066 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.5867, allocations: 1.254 MB / 1.068 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5869, allocations: 31.67 kB / 1.068 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.587, allocations: 12 kB / 1.068 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-06/0.587, allocations: 4 kB / 1.068 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002552/0.5872, allocations: 182 kB / 1.068 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5872, allocations: 7.984 kB / 1.068 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.5873, allocations: 4 kB / 1.068 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.5876, allocations: 75.83 kB / 1.068 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007477/0.5884, allocations: 1.251 MB / 1.069 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.5886, allocations: 24 kB / 1.069 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.5886, allocations: 19.8 kB / 1.069 GB, free: 3.137 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 7.718e-05/0.5887, allocations: 120.7 kB / 1.069 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.5887, allocations: 15.81 kB / 1.069 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.5888, allocations: 24.28 kB / 1.069 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5888, allocations: 4 kB / 1.069 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.5888, allocations: 0 / 1.069 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5888, allocations: 7.891 kB / 1.069 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.5895, allocations: 0.6424 MB / 1.07 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5895, allocations: 0 / 1.07 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.5899, allocations: 60.05 kB / 1.07 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5899, allocations: 4 kB / 1.07 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5899, allocations: 0 / 1.07 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5899, allocations: 4 kB / 1.07 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5899, allocations: 0 / 1.07 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002684/0.5902, allocations: 349.5 kB / 1.07 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.5903, allocations: 104.2 kB / 1.07 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5903, allocations: 15.92 kB / 1.07 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5905, allocations: 8 kB / 1.07 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5905, allocations: 15.2 kB / 1.07 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5905, allocations: 4 kB / 1.07 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.44e-05/0.5906, allocations: 143.2 kB / 1.071 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004512/0.5911, allocations: 115.5 kB / 1.071 GB, free: 1.512 MB / 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 9.721e-05/0.5912, allocations: 103.2 kB / 1.071 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000753/0.592, allocations: 270.8 kB / 1.071 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.592, allocations: 4 kB / 1.071 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.5923, allocations: 88.02 kB / 1.071 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5926, allocations: 27.86 kB / 1.071 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.5931, allocations: 340.7 kB / 1.071 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.5935, allocations: 0.8086 MB / 1.072 GB, free: 15.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.5935, allocations: 0 / 1.072 GB, free: 15.95 MB / 0.698 GB Notification: Performance of Templates: time 0.005269/0.5988, allocations: 2.789 MB / 1.075 GB, free: 13.18 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