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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001065/0.001065, allocations: 184 kB / 0.4902 GB, free: 2.293 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.727/1.727, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.0008747/0.0008746, allocations: 106.5 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 11.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3471, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.5792, allocations: 181.4 MB / 1.406 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5795, allocations: 87.95 kB / 1.406 GB, free: 4 MB / 0.9011 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 - DAE generated: time 0.8273/1.407, allocations: 20.88 MB / 1.427 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.296e-06/1.407, allocations: 0 / 1.427 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.63e-05/1.407, allocations: 9.969 kB / 1.427 GB, free: 184.3 MB / 0.9167 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.001113/1.408, allocations: 0.5615 MB / 1.427 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.408, allocations: 8.25 kB / 1.427 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/1.409, allocations: 110.3 kB / 1.427 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/1.409, allocations: 276.2 kB / 1.428 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/1.41, allocations: 47.88 kB / 1.428 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/1.41, allocations: 32.3 kB / 1.428 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/1.41, allocations: 418 kB / 1.428 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.41, allocations: 3.844 kB / 1.428 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/1.41, allocations: 15.81 kB / 1.428 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/1.41, allocations: 20.17 kB / 1.428 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/1.411, allocations: 338.9 kB / 1.429 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/1.414, allocations: 2.097 MB / 1.431 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/1.414, allocations: 201.1 kB / 1.431 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/1.415, allocations: 3.516 kB / 1.431 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.415, allocations: 42.17 kB / 1.431 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/1.415, allocations: 4 kB / 1.431 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0007823/1.415, allocations: 280.5 kB / 1.431 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.415, allocations: 53.97 kB / 1.431 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/1.416, allocations: 200.1 kB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/1.416, allocations: 30.86 kB / 1.431 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/1.416, allocations: 193.5 kB / 1.432 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/1.416, allocations: 63.22 kB / 1.432 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/1.416, allocations: 6.438 kB / 1.432 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.416, allocations: 330.4 kB / 1.432 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/1.416, allocations: 87.05 kB / 1.432 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/1.417, allocations: 183.8 kB / 1.432 GB, free: 181 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/1.417, allocations: 107.8 kB / 1.432 GB, free: 181 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.417, allocations: 4.844 kB / 1.432 GB, free: 181 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005958/1.418, allocations: 303.9 kB / 1.433 GB, free: 181 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004192/1.418, allocations: 1.225 MB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.418, allocations: 6.594 kB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.418, allocations: 3.688 kB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/1.418, allocations: 72.64 kB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009491/1.419, allocations: 1.317 MB / 1.435 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.42, allocations: 37.86 kB / 1.435 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/1.42, allocations: 20.72 kB / 1.435 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.42, allocations: 4.875 kB / 1.435 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005595/1.42, allocations: 250.6 kB / 1.435 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.42, allocations: 3 kB / 1.435 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.42, allocations: 7.344 kB / 1.435 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/1.421, allocations: 71.25 kB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/1.421, allocations: 1.313 MB / 1.437 GB, free: 177 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/1.422, allocations: 31.41 kB / 1.437 GB, free: 177 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.422, allocations: 12.14 kB / 1.437 GB, free: 177 MB / 0.9167 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.0002108/1.422, allocations: 241.6 kB / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/1.422, allocations: 25.8 kB / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/1.422, allocations: 28.23 kB / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.422, allocations: 3.109 kB / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.422, allocations: 0 / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.422, allocations: 2.109 kB / 1.437 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/1.423, allocations: 0.645 MB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.423, allocations: 1.469 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/1.424, allocations: 58.19 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.424, allocations: 2.031 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.424, allocations: 6.688 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/1.424, allocations: 2.297 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.424, allocations: 5.625 kB / 1.438 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/1.424, allocations: 378.7 kB / 1.438 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/1.424, allocations: 111.7 kB / 1.438 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/1.424, allocations: 14.8 kB / 1.438 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.424, allocations: 13.19 kB / 1.438 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/1.424, allocations: 16.48 kB / 1.438 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.424, allocations: 8.75 kB / 1.438 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001448/1.425, allocations: 157.6 kB / 1.439 GB, free: 176 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/1.425, allocations: 1.031 kB / 1.439 GB, free: 176 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005473/1.425, allocations: 121.5 kB / 1.439 GB, free: 176 MB / 0.9167 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.0001425/1.425, allocations: 111.6 kB / 1.439 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001032/1.426, allocations: 349.4 kB / 1.439 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.426, allocations: 1.375 kB / 1.439 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/1.427, allocations: 110.7 kB / 1.439 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.427, allocations: 37.38 kB / 1.439 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.428, allocations: 0.5816 MB / 1.44 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/1.429, allocations: 0.7843 MB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002142/1.429, allocations: 61.72 kB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/1.429, allocations: 20.34 kB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of SimCode: time 4.2e-07/1.429, allocations: 1.781 kB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.006785/1.436, allocations: 2.124 MB / 1.443 GB, free: 174.7 MB / 0.9167 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,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