Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.703/1.703, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 177.3 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.072/1.072, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 86.98 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.558e-06/4.578e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.624, allocations: 180.6 MB / 1.388 GB, free: 16.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.6242, allocations: 82.39 kB / 1.388 GB, free: 16.07 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 10.0.0-master/Electrical/DC/Conversion/DCDCConverter.mo:26:3-26: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 10.0.0-master/Electrical/DC/Conversion/DCDCConverter.mo:27:3-27: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 10.0.0-master/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.03673/0.6609, allocations: 20.28 MB / 1.408 GB, free: 3.949 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.661, allocations: 8 kB / 1.408 GB, free: 3.941 MB / 0.823 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.0005875/0.6616, allocations: 0.5417 MB / 1.408 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.6616, allocations: 8.031 kB / 1.408 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.6623, allocations: 111.5 kB / 1.408 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.6626, allocations: 281 kB / 1.409 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.6626, allocations: 34.36 kB / 1.409 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.6627, allocations: 16 kB / 1.409 GB, free: 18.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000327/0.663, allocations: 280.6 kB / 1.409 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.6634, allocations: 370.1 kB / 1.409 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6634, allocations: 7.984 kB / 1.409 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.6634, allocations: 0 / 1.409 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.6635, allocations: 24.64 kB / 1.409 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.665, allocations: 2.043 MB / 1.411 GB, free: 16.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.6653, allocations: 176.1 kB / 1.412 GB, free: 16.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.6655, allocations: 124 kB / 1.412 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6656, allocations: 4.312 kB / 1.412 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.818e-06/0.6656, allocations: 34.47 kB / 1.412 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.6656, allocations: 0 / 1.412 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.000241/0.6658, allocations: 162.8 kB / 1.412 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.231e-05/0.6658, allocations: 51.41 kB / 1.412 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.666, allocations: 168.8 kB / 1.412 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.666, allocations: 33.45 kB / 1.412 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.666, allocations: 186.5 kB / 1.412 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.6661, allocations: 58.11 kB / 1.412 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/0.6661, allocations: 0 / 1.412 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6662, allocations: 330.7 kB / 1.413 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.6663, allocations: 56.36 kB / 1.413 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.6664, allocations: 159.2 kB / 1.413 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.6665, allocations: 85.89 kB / 1.413 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6665, allocations: 4 kB / 1.413 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003078/0.6668, allocations: 232.5 kB / 1.413 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.6672, allocations: 1.311 MB / 1.414 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6672, allocations: 4 kB / 1.414 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.6672, allocations: 4 kB / 1.414 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.6676, allocations: 75.39 kB / 1.415 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007286/0.6683, allocations: 1.251 MB / 1.416 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.6685, allocations: 31.84 kB / 1.416 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.6686, allocations: 15.81 kB / 1.416 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-06/0.6686, allocations: 4 kB / 1.416 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002397/0.6688, allocations: 182.8 kB / 1.416 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.6688, allocations: 8.031 kB / 1.416 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.6689, allocations: 8 kB / 1.416 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.6692, allocations: 70.7 kB / 1.416 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006814/0.6699, allocations: 1.255 MB / 1.417 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6701, allocations: 27.73 kB / 1.417 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.6701, allocations: 15.5 kB / 1.417 GB, free: 10.18 MB / 0.8386 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.915e-05/0.6702, allocations: 114.3 kB / 1.417 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.6702, allocations: 27.66 kB / 1.417 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.6703, allocations: 23.22 kB / 1.418 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6703, allocations: 0 / 1.418 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.6703, allocations: 0 / 1.418 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6703, allocations: 3.984 kB / 1.418 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.671, allocations: 0.6382 MB / 1.418 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.671, allocations: 0 / 1.418 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.6713, allocations: 67.23 kB / 1.418 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6714, allocations: 160 / 1.418 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6714, allocations: 8 kB / 1.418 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6714, allocations: 0 / 1.418 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6714, allocations: 4 kB / 1.418 GB, free: 9.312 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002487/0.6716, allocations: 341.1 kB / 1.419 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.6717, allocations: 116 kB / 1.419 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.6717, allocations: 7.984 kB / 1.419 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.6719, allocations: 12 kB / 1.419 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.6719, allocations: 14.36 kB / 1.419 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.672, allocations: 8 kB / 1.419 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.847e-05/0.672, allocations: 135 kB / 1.419 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004291/0.6725, allocations: 115.5 kB / 1.419 GB, free: 8.559 MB / 0.8386 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 8.827e-05/0.6726, allocations: 99.19 kB / 1.419 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.6733, allocations: 275.6 kB / 1.419 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6733, allocations: 0 / 1.419 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.6736, allocations: 91.08 kB / 1.419 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.6739, allocations: 32.36 kB / 1.419 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.6744, allocations: 340.2 kB / 1.42 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.6748, allocations: 0.8083 MB / 1.421 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.6748, allocations: 0 / 1.421 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.00499/0.6798, allocations: 2.786 MB / 1.423 GB, free: 4.223 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","../files/Buildings_latest_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