Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001285/0.001286, allocations: 192.7 kB / 487.4 MB, free: 5.035 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.567/1.567, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 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.0009918/0.0009918, allocations: 103.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.655e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.929, allocations: 1.764 GB / 2.97 GB, free: 94.79 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/4.929, allocations: 91.7 kB / 2.97 GB, free: 94.75 MB / 1.151 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/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.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.1619/5.091, allocations: 74.34 MB / 3.043 GB, free: 24.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.464e-06/5.091, allocations: 3.984 kB / 3.043 GB, free: 24.26 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.793e-05/5.091, allocations: 43.92 kB / 3.043 GB, free: 24.22 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.002766/5.094, allocations: 1.591 MB / 3.044 GB, free: 22.57 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/5.094, allocations: 12.5 kB / 3.044 GB, free: 22.56 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/5.099, allocations: 0.8409 MB / 3.045 GB, free: 21.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/5.101, allocations: 0.8922 MB / 3.046 GB, free: 20.78 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/5.101, allocations: 48 kB / 3.046 GB, free: 20.73 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/5.101, allocations: 84 kB / 3.046 GB, free: 20.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00265/5.104, allocations: 1.876 MB / 3.048 GB, free: 18.77 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/5.106, allocations: 1.55 MB / 3.05 GB, free: 17.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/5.106, allocations: 3.938 kB / 3.05 GB, free: 17.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/5.106, allocations: 0 / 3.05 GB, free: 17.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/5.106, allocations: 70.84 kB / 3.05 GB, free: 17.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00941/5.116, allocations: 5.952 MB / 3.055 GB, free: 10.92 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/5.117, allocations: 1.225 MB / 3.057 GB, free: 9.684 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/5.118, allocations: 0.5852 MB / 3.057 GB, free: 9.098 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/5.119, allocations: 482.9 kB / 3.058 GB, free: 8.531 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009729/5.12, allocations: 0.7592 MB / 3.058 GB, free: 7.746 MB / 1.151 GB Notification: Performance of pre-optimization done (n=129): time 4.298e-06/5.12, allocations: 0 / 3.058 GB, free: 7.746 MB / 1.151 GB Notification: Performance of matching and sorting (n=129): time 0.004594/5.124, allocations: 1.734 MB / 3.06 GB, free: 6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/5.125, allocations: 355.5 kB / 3.06 GB, free: 5.574 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008469/5.125, allocations: 0.6527 MB / 3.061 GB, free: 4.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/5.126, allocations: 25.7 kB / 3.061 GB, free: 4.879 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/5.126, allocations: 0.6089 MB / 3.062 GB, free: 4.258 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/5.126, allocations: 413.7 kB / 3.062 GB, free: 3.848 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/5.126, allocations: 4 kB / 3.062 GB, free: 3.844 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/5.126, allocations: 357.9 kB / 3.062 GB, free: 3.488 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/5.127, allocations: 446.5 kB / 3.063 GB, free: 3.051 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/5.128, allocations: 0.6351 MB / 3.063 GB, free: 2.352 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/5.131, allocations: 1.056 MB / 3.064 GB, free: 1.297 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/5.131, allocations: 4 kB / 3.064 GB, free: 1.293 MB / 1.151 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.6983/5.829, allocations: 1.794 MB / 3.066 GB, free: 390 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/5.83, allocations: 1.058 MB / 3.067 GB, free: 388.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/5.83, allocations: 2.781 kB / 3.067 GB, free: 388.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/5.83, allocations: 30.11 kB / 3.067 GB, free: 388.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/5.832, allocations: 337.4 kB / 3.068 GB, free: 388.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003539/5.832, allocations: 0.5427 MB / 3.068 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/5.834, allocations: 158.7 kB / 3.068 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/5.834, allocations: 61.14 kB / 3.068 GB, free: 388.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/5.834, allocations: 4 kB / 3.068 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005062/5.839, allocations: 1.657 MB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/5.839, allocations: 3.375 kB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/5.84, allocations: 12.81 kB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/5.841, allocations: 340.2 kB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/5.841, allocations: 11.03 kB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/5.843, allocations: 148.1 kB / 3.07 GB, free: 388.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/5.843, allocations: 55.56 kB / 3.071 GB, free: 388.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004062/5.843, allocations: 134.5 kB / 3.071 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/5.844, allocations: 113.7 kB / 3.071 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/5.85, allocations: 2.11 MB / 3.073 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/5.85, allocations: 14.69 kB / 3.073 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/5.85, allocations: 0.8438 kB / 3.073 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/5.85, allocations: 8.656 kB / 3.073 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/5.858, allocations: 3.788 MB / 3.077 GB, free: 387.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/5.858, allocations: 1.797 kB / 3.077 GB, free: 387.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/5.86, allocations: 316.4 kB / 3.077 GB, free: 387.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/5.86, allocations: 27.47 kB / 3.077 GB, free: 387.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/5.86, allocations: 28.3 kB / 3.077 GB, free: 387.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007036/5.861, allocations: 1.223 MB / 3.078 GB, free: 386.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/5.861, allocations: 6.5 kB / 3.078 GB, free: 386.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/5.867, allocations: 1.981 MB / 3.08 GB, free: 386 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/5.867, allocations: 415.6 kB / 3.08 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/5.868, allocations: 8.047 kB / 3.08 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/5.869, allocations: 118.8 kB / 3.081 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/5.869, allocations: 93 kB / 3.081 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/5.869, allocations: 51.8 kB / 3.081 GB, free: 385.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009186/5.87, allocations: 0.5311 MB / 3.081 GB, free: 385.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/5.87, allocations: 3.531 kB / 3.081 GB, free: 385.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002725/5.873, allocations: 0.7175 MB / 3.082 GB, free: 385.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/5.875, allocations: 0.5842 MB / 3.082 GB, free: 385.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004178/5.879, allocations: 1.843 MB / 3.084 GB, free: 385.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/5.879, allocations: 4.656 kB / 3.084 GB, free: 385.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/5.881, allocations: 0.7484 MB / 3.085 GB, free: 385.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/5.882, allocations: 262.4 kB / 3.085 GB, free: 385.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/5.887, allocations: 1.963 MB / 3.087 GB, free: 384.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/5.888, allocations: 1.279 MB / 3.088 GB, free: 384.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003249/5.891, allocations: 0.6054 MB / 3.089 GB, free: 384 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/5.892, allocations: 131.4 kB / 3.089 GB, free: 384 MB / 1.151 GB Notification: Performance of SimCode: time 1.402e-06/5.892, allocations: 0 / 3.089 GB, free: 384 MB / 1.151 GB Notification: Performance of Templates: time 0.03955/5.931, allocations: 19.69 MB / 3.108 GB, free: 382.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_PVSimple.csv","../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.PVSimple.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches