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.208/2.208, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001068/0.001068, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.444/1.444, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008879/0.000888, allocations: 106.6 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.613e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2819, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.292, allocations: 179.8 MB / 1.382 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.293, allocations: 82.45 kB / 1.382 GB, free: 18.23 MB / 0.823 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.04155/1.334, allocations: 20.66 MB / 1.402 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/1.334, allocations: 0 / 1.402 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.568e-05/1.334, allocations: 11.75 kB / 1.402 GB, free: 25.5 MB / 0.8386 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.000854/1.335, allocations: 0.5364 MB / 1.402 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.335, allocations: 12.38 kB / 1.402 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/1.336, allocations: 117.4 kB / 1.402 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/1.336, allocations: 281.9 kB / 1.403 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/1.336, allocations: 37.8 kB / 1.403 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/1.336, allocations: 15.25 kB / 1.403 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004115/1.337, allocations: 264.4 kB / 1.403 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/1.337, allocations: 367.2 kB / 1.403 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.337, allocations: 0 / 1.403 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/1.337, allocations: 0 / 1.403 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/1.337, allocations: 27.02 kB / 1.403 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/1.339, allocations: 2.036 MB / 1.405 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/1.34, allocations: 177.6 kB / 1.406 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/1.34, allocations: 126.1 kB / 1.406 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/1.34, allocations: 3.719 kB / 1.406 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.34, allocations: 30.56 kB / 1.406 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/1.34, allocations: 0 / 1.406 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003338/1.341, allocations: 150.5 kB / 1.406 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/1.341, allocations: 59.39 kB / 1.406 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.341, allocations: 179.8 kB / 1.406 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.341, allocations: 25.7 kB / 1.406 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/1.341, allocations: 191.4 kB / 1.406 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/1.341, allocations: 60.92 kB / 1.406 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/1.341, allocations: 0 / 1.406 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.341, allocations: 325.6 kB / 1.407 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/1.341, allocations: 57.55 kB / 1.407 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/1.341, allocations: 164.7 kB / 1.407 GB, free: 21.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/1.341, allocations: 83.92 kB / 1.407 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.341, allocations: 0 / 1.407 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002831/1.342, allocations: 239 kB / 1.407 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/1.342, allocations: 1.306 MB / 1.408 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.342, allocations: 4 kB / 1.409 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.342, allocations: 8 kB / 1.409 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/1.343, allocations: 70.72 kB / 1.409 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008796/1.344, allocations: 1.262 MB / 1.41 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/1.344, allocations: 31.92 kB / 1.41 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/1.344, allocations: 12 kB / 1.41 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/1.344, allocations: 4 kB / 1.41 GB, free: 18.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002443/1.344, allocations: 179.7 kB / 1.41 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/1.344, allocations: 8.391 kB / 1.41 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/1.344, allocations: 8 kB / 1.41 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/1.344, allocations: 67.89 kB / 1.41 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007523/1.345, allocations: 1.266 MB / 1.411 GB, free: 16.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.345, allocations: 19.84 kB / 1.411 GB, free: 16.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/1.345, allocations: 8 kB / 1.411 GB, free: 16.8 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 0.0001018/1.346, allocations: 121.9 kB / 1.411 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/1.346, allocations: 15.81 kB / 1.411 GB, free: 16.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/1.346, allocations: 27.86 kB / 1.412 GB, free: 16.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.346, allocations: 4 kB / 1.412 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/1.346, allocations: 4.094 kB / 1.412 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.346, allocations: 3.984 kB / 1.412 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/1.346, allocations: 0.6364 MB / 1.412 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.346, allocations: 8.156 kB / 1.412 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/1.347, allocations: 55.89 kB / 1.412 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.347, allocations: 0 / 1.412 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.347, allocations: 7.5 kB / 1.412 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.347, allocations: 3.938 kB / 1.412 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.347, allocations: 4 kB / 1.412 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/1.347, allocations: 337.4 kB / 1.413 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/1.347, allocations: 111.4 kB / 1.413 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/1.347, allocations: 0 / 1.413 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/1.347, allocations: 11.98 kB / 1.413 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.347, allocations: 18.8 kB / 1.413 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.347, allocations: 4 kB / 1.413 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.899e-05/1.347, allocations: 133.7 kB / 1.413 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.347, allocations: 0 / 1.413 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004919/1.348, allocations: 115.5 kB / 1.413 GB, free: 15.19 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 0.000124/1.348, allocations: 103.2 kB / 1.413 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000598/1.349, allocations: 268 kB / 1.413 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.349, allocations: 0 / 1.413 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/1.349, allocations: 82.91 kB / 1.413 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/1.349, allocations: 43.06 kB / 1.413 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/1.35, allocations: 323 kB / 1.414 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/1.35, allocations: 0.7826 MB / 1.414 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001841/1.35, allocations: 65.94 kB / 1.415 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/1.35, allocations: 23.44 kB / 1.415 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.35, allocations: 0 / 1.415 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.00458/1.355, allocations: 2.163 MB / 1.417 GB, free: 11.45 MB / 0.8386 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,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