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.516/2.516, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001679/0.001679, allocations: 175.3 kB / 498.1 MB, free: 5.746 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.667/1.667, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.001029/0.00103, allocations: 98.72 kB / 0.9346 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 10.09 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.671/3.905, allocations: 1.765 GB / 2.988 GB, free: 182.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/3.905, allocations: 108 kB / 2.988 GB, free: 182.5 MB / 1.167 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.1757/4.081, allocations: 75.21 MB / 3.061 GB, free: 117.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.446e-06/4.081, allocations: 0 / 3.061 GB, free: 117.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001656/4.081, allocations: 36 kB / 3.061 GB, free: 117.5 MB / 1.167 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.005026/4.086, allocations: 1.752 MB / 3.063 GB, free: 115.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/4.086, allocations: 8.031 kB / 3.063 GB, free: 115.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/4.092, allocations: 0.8364 MB / 3.064 GB, free: 115 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/4.094, allocations: 0.8961 MB / 3.065 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/4.095, allocations: 111 kB / 3.065 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/4.095, allocations: 146.7 kB / 3.065 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/4.1, allocations: 1.977 MB / 3.067 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/4.1, allocations: 7.984 kB / 3.067 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/4.1, allocations: 66.11 kB / 3.067 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/4.1, allocations: 74.84 kB / 3.067 GB, free: 112.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005687/4.106, allocations: 2.417 MB / 3.069 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/4.118, allocations: 6.231 MB / 3.075 GB, free: 105.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/4.122, allocations: 1.573 MB / 3.077 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/4.122, allocations: 486.2 kB / 3.077 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/4.125, allocations: 0.9357 MB / 3.078 GB, free: 103.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=129): time 4.489e-06/4.125, allocations: 0 / 3.078 GB, free: 103.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=129): time 0.006065/4.131, allocations: 2.254 MB / 3.081 GB, free: 101.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/4.131, allocations: 353.9 kB / 3.081 GB, free: 101.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/4.132, allocations: 0.7942 MB / 3.082 GB, free: 100.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/4.133, allocations: 51.27 kB / 3.082 GB, free: 100.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/4.133, allocations: 0.5973 MB / 3.082 GB, free: 100.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/4.134, allocations: 426.5 kB / 3.083 GB, free: 99.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/4.134, allocations: 26.5 kB / 3.083 GB, free: 99.81 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/4.134, allocations: 350 kB / 3.083 GB, free: 99.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/4.135, allocations: 0.6035 MB / 3.084 GB, free: 99.07 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/4.137, allocations: 0.8081 MB / 3.084 GB, free: 98.27 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/4.139, allocations: 0.67 MB / 3.085 GB, free: 97.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/4.139, allocations: 0 / 3.085 GB, free: 97.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003955/4.143, allocations: 1.633 MB / 3.087 GB, free: 95.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002436/4.143, allocations: 1.06 MB / 3.088 GB, free: 94.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/4.143, allocations: 0 / 3.088 GB, free: 94.81 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/4.143, allocations: 36.78 kB / 3.088 GB, free: 94.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/4.145, allocations: 335.5 kB / 3.088 GB, free: 94.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003276/4.145, allocations: 0.5484 MB / 3.089 GB, free: 93.87 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/4.147, allocations: 194.8 kB / 3.089 GB, free: 93.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/4.147, allocations: 55.95 kB / 3.089 GB, free: 93.62 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/4.147, allocations: 5.25 kB / 3.089 GB, free: 93.62 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003756/4.151, allocations: 1.499 MB / 3.09 GB, free: 92.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/4.151, allocations: 7.953 kB / 3.09 GB, free: 92.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/4.151, allocations: 8 kB / 3.09 GB, free: 92.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/4.153, allocations: 347.6 kB / 3.091 GB, free: 91.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/4.153, allocations: 4 kB / 3.091 GB, free: 91.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/4.155, allocations: 198.8 kB / 3.091 GB, free: 91.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/4.155, allocations: 55.95 kB / 3.091 GB, free: 91.51 MB / 1.167 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 () * Number of clocked 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.001069/4.156, allocations: 432.8 kB / 3.091 GB, free: 91.08 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/4.156, allocations: 122.5 kB / 3.091 GB, free: 90.96 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/4.161, allocations: 1.955 MB / 3.093 GB, free: 88.99 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/4.161, allocations: 12 kB / 3.093 GB, free: 88.98 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/4.161, allocations: 0 / 3.093 GB, free: 88.98 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/4.161, allocations: 7.984 kB / 3.093 GB, free: 88.97 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007037/4.169, allocations: 3.661 MB / 3.097 GB, free: 85.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/4.169, allocations: 0 / 3.097 GB, free: 85.24 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/4.17, allocations: 311.6 kB / 3.097 GB, free: 84.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/4.17, allocations: 28.94 kB / 3.097 GB, free: 84.91 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/4.171, allocations: 43.91 kB / 3.097 GB, free: 84.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007992/4.171, allocations: 1.28 MB / 3.099 GB, free: 83.45 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/4.171, allocations: 4.031 kB / 3.099 GB, free: 83.45 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/4.175, allocations: 1.763 MB / 3.1 GB, free: 81.65 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/4.176, allocations: 422.8 kB / 3.101 GB, free: 81.21 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/4.177, allocations: 28 kB / 3.101 GB, free: 81.19 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/4.178, allocations: 139.9 kB / 3.101 GB, free: 81.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/4.178, allocations: 101.1 kB / 3.101 GB, free: 80.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/4.178, allocations: 51.97 kB / 3.101 GB, free: 80.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0012/4.18, allocations: 0.6531 MB / 3.102 GB, free: 80.23 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/4.18, allocations: 0 / 3.102 GB, free: 80.23 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002529/4.182, allocations: 0.7709 MB / 3.102 GB, free: 79.46 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 140 * 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.001841/4.184, allocations: 0.6765 MB / 3.103 GB, free: 78.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006/4.19, allocations: 2.346 MB / 3.105 GB, free: 76.62 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/4.19, allocations: 3.938 kB / 3.105 GB, free: 76.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/4.192, allocations: 0.9201 MB / 3.106 GB, free: 75.68 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/4.194, allocations: 288.2 kB / 3.107 GB, free: 75.41 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/4.2, allocations: 3.373 MB / 3.11 GB, free: 72 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/4.201, allocations: 1.269 MB / 3.111 GB, free: 70.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003165/4.204, allocations: 0.5365 MB / 3.112 GB, free: 70.16 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006621/4.205, allocations: 147.3 kB / 3.112 GB, free: 70.01 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/4.205, allocations: 0 / 3.112 GB, free: 70.01 MB / 1.167 GB Notification: Performance of Templates: time 0.03047/4.235, allocations: 19.61 MB / 3.131 GB, free: 50.53 MB / 1.167 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