Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001046/0.001046, allocations: 161.2 kB / 498.1 MB, free: 5.758 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.627/1.627, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009468/0.0009468, allocations: 96.33 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005053, allocations: 11.03 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3844, allocations: 142.3 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.6244, allocations: 180.6 MB / 1.399 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.6248, allocations: 87.95 kB / 1.399 GB, free: 4.695 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.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.8507/1.475, allocations: 20.87 MB / 1.42 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/1.476, allocations: 1.281 kB / 1.42 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.05e-05/1.476, allocations: 13.89 kB / 1.42 GB, free: 177.2 MB / 0.9011 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.001277/1.477, allocations: 0.5557 MB / 1.42 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.477, allocations: 12.45 kB / 1.42 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/1.478, allocations: 116.3 kB / 1.42 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/1.478, allocations: 277.2 kB / 1.421 GB, free: 176.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/1.479, allocations: 45.97 kB / 1.421 GB, free: 176.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/1.479, allocations: 25.7 kB / 1.421 GB, free: 176.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008873/1.479, allocations: 421.5 kB / 1.421 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.48, allocations: 1.125 kB / 1.421 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/1.48, allocations: 7.953 kB / 1.421 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/1.48, allocations: 25.69 kB / 1.421 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/1.48, allocations: 340.7 kB / 1.421 GB, free: 176.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/1.483, allocations: 2.097 MB / 1.424 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/1.483, allocations: 212 kB / 1.424 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/1.483, allocations: 6.062 kB / 1.424 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/1.483, allocations: 32.22 kB / 1.424 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/1.483, allocations: 1.5 kB / 1.424 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=17): time 0.0007253/1.484, allocations: 282.1 kB / 1.424 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/1.484, allocations: 57.41 kB / 1.424 GB, free: 174.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/1.484, allocations: 207.3 kB / 1.424 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.484, allocations: 29.42 kB / 1.424 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/1.484, allocations: 189.4 kB / 1.424 GB, free: 174.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/1.484, allocations: 58.84 kB / 1.425 GB, free: 174.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/1.484, allocations: 6.812 kB / 1.425 GB, free: 174.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/1.485, allocations: 330.4 kB / 1.425 GB, free: 174 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/1.485, allocations: 80.59 kB / 1.425 GB, free: 174 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.485, allocations: 192 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/1.485, allocations: 113.8 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.485, allocations: 1.562 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005783/1.486, allocations: 307.5 kB / 1.426 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000321/1.486, allocations: 1.224 MB / 1.427 GB, free: 172.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.486, allocations: 3.094 kB / 1.427 GB, free: 172.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/1.486, allocations: 8.234 kB / 1.427 GB, free: 172.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/1.487, allocations: 69.17 kB / 1.427 GB, free: 172.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008843/1.488, allocations: 1.309 MB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/1.488, allocations: 37.34 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.488, allocations: 10.59 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/1.488, allocations: 10.89 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005057/1.488, allocations: 259.8 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.488, allocations: 3.5 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/1.488, allocations: 3.344 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/1.489, allocations: 71.12 kB / 1.428 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006959/1.49, allocations: 1.317 MB / 1.43 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/1.49, allocations: 33.7 kB / 1.43 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/1.49, allocations: 13.75 kB / 1.43 GB, free: 169.7 MB / 0.9011 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.000202/1.49, allocations: 231 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/1.49, allocations: 29.48 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/1.49, allocations: 30.22 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.49, allocations: 2.031 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.49, allocations: 0.9688 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.49, allocations: 3.703 kB / 1.43 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.491, allocations: 0.644 MB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.491, allocations: 1.812 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/1.492, allocations: 50.78 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.492, allocations: 2.906 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/1.492, allocations: 7.188 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.492, allocations: 8.062 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.492, allocations: 3.625 kB / 1.431 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/1.492, allocations: 377.9 kB / 1.431 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/1.493, allocations: 111.9 kB / 1.431 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/1.493, allocations: 8.312 kB / 1.431 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.493, allocations: 19.5 kB / 1.431 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/1.493, allocations: 19.53 kB / 1.431 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.493, allocations: 1.969 kB / 1.431 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001817/1.493, allocations: 159.2 kB / 1.431 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/1.493, allocations: 0 / 1.431 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007337/1.494, allocations: 124.4 kB / 1.432 GB, free: 168.7 MB / 0.9011 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.000216/1.494, allocations: 111 kB / 1.432 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00111/1.495, allocations: 358.8 kB / 1.432 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.495, allocations: 3.938 kB / 1.432 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/1.496, allocations: 109.5 kB / 1.432 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/1.496, allocations: 44.61 kB / 1.432 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.497, allocations: 0.5754 MB / 1.433 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.498, allocations: 0.7819 MB / 1.433 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002591/1.498, allocations: 59.5 kB / 1.434 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/1.498, allocations: 23.25 kB / 1.434 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of SimCode: time 2e-07/1.498, allocations: 0 / 1.434 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.006961/1.505, allocations: 2.125 MB / 1.436 GB, free: 167.2 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.csv","../files/Buildings_9_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