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.253/2.253, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001143/0.001143, allocations: 196 kB / 492.3 MB, free: 0.6445 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.556/1.556, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008882/0.0008881, allocations: 90.03 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.744e-05, allocations: 6.188 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9482/1.208, allocations: 180.5 MB / 1.389 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.208, allocations: 87.58 kB / 1.389 GB, free: 17.14 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.04131/1.249, allocations: 20.73 MB / 1.409 GB, free: 18.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.249, allocations: 0 / 1.409 GB, free: 18.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.363e-05/1.249, allocations: 12 kB / 1.409 GB, free: 18.54 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.0008356/1.25, allocations: 0.533 MB / 1.41 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.25, allocations: 8.031 kB / 1.41 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/1.251, allocations: 116.2 kB / 1.41 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/1.251, allocations: 279.3 kB / 1.41 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/1.251, allocations: 46.19 kB / 1.41 GB, free: 17.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/1.252, allocations: 23.81 kB / 1.41 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/1.252, allocations: 404.5 kB / 1.41 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.252, allocations: 0 / 1.41 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/1.252, allocations: 11.75 kB / 1.41 GB, free: 17.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/1.252, allocations: 24.48 kB / 1.41 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/1.253, allocations: 295 kB / 1.411 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/1.255, allocations: 2.109 MB / 1.413 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/1.255, allocations: 174 kB / 1.413 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/1.256, allocations: 125.4 kB / 1.413 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/1.256, allocations: 7.953 kB / 1.413 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.256, allocations: 38.48 kB / 1.413 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/1.256, allocations: 3.938 kB / 1.413 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003621/1.256, allocations: 164 kB / 1.413 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.256, allocations: 55.41 kB / 1.413 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/1.256, allocations: 201.9 kB / 1.413 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/1.256, allocations: 29.33 kB / 1.414 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.256, allocations: 204.3 kB / 1.414 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/1.257, allocations: 58.42 kB / 1.414 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-06/1.257, allocations: 3.5 kB / 1.414 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.257, allocations: 333.7 kB / 1.414 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/1.257, allocations: 57.86 kB / 1.414 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/1.257, allocations: 169.7 kB / 1.414 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/1.257, allocations: 75.38 kB / 1.414 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/1.257, allocations: 7.922 kB / 1.414 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003905/1.258, allocations: 265.1 kB / 1.415 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006243/1.258, allocations: 1.313 MB / 1.416 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.258, allocations: 4 kB / 1.416 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.258, allocations: 4 kB / 1.416 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/1.259, allocations: 74.95 kB / 1.416 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/1.26, allocations: 1.308 MB / 1.417 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/1.26, allocations: 46.86 kB / 1.417 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/1.26, allocations: 12 kB / 1.417 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/1.26, allocations: 4 kB / 1.417 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003463/1.26, allocations: 207.8 kB / 1.418 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.26, allocations: 8.031 kB / 1.418 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/1.26, allocations: 4 kB / 1.418 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/1.261, allocations: 74.83 kB / 1.418 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009692/1.262, allocations: 1.307 MB / 1.419 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/1.262, allocations: 31.05 kB / 1.419 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.262, allocations: 15.44 kB / 1.419 GB, free: 8.492 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.0001239/1.262, allocations: 124.3 kB / 1.419 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/1.262, allocations: 19.72 kB / 1.419 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/1.262, allocations: 26.47 kB / 1.419 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.262, allocations: 8.078 kB / 1.419 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.262, allocations: 0 / 1.419 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.262, allocations: 0 / 1.419 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/1.263, allocations: 0.7113 MB / 1.42 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.263, allocations: 0 / 1.42 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/1.264, allocations: 51.97 kB / 1.42 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.264, allocations: 4 kB / 1.42 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.264, allocations: 3.25 kB / 1.42 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/1.264, allocations: 7.938 kB / 1.42 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.264, allocations: 0 / 1.42 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/1.264, allocations: 361.1 kB / 1.42 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.264, allocations: 115.5 kB / 1.42 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/1.264, allocations: 4 kB / 1.42 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/1.264, allocations: 11.25 kB / 1.42 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/1.265, allocations: 23.11 kB / 1.42 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/1.265, allocations: 4 kB / 1.42 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001565/1.265, allocations: 161.7 kB / 1.421 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.265, allocations: 4 kB / 1.421 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005246/1.265, allocations: 118.1 kB / 1.421 GB, free: 6.777 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.0001589/1.265, allocations: 111.8 kB / 1.421 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007357/1.266, allocations: 281.7 kB / 1.421 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.266, allocations: 0 / 1.421 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/1.266, allocations: 84.34 kB / 1.421 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/1.267, allocations: 38.72 kB / 1.421 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/1.267, allocations: 337.6 kB / 1.421 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.268, allocations: 0.7813 MB / 1.422 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002145/1.268, allocations: 73.98 kB / 1.422 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/1.268, allocations: 19.44 kB / 1.422 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.268, allocations: 0 / 1.422 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of Templates: time 0.005916/1.274, allocations: 2.385 MB / 1.425 GB, free: 2.773 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,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