Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.343/2.343, allocations: 390.5 MB / 398 MB, free: 10.95 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.001069/0.001069, allocations: 179.8 kB / 491.2 MB, free: 1.586 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.747/1.747, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001011/0.001011, allocations: 95.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.576e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.372, allocations: 1.78 GB / 2.992 GB, free: 83.29 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/5.373, allocations: 105 kB / 2.992 GB, free: 83.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.171/6.544, allocations: 172.2 MB / 3.16 GB, free: 362.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.854e-06/6.544, allocations: 0 / 3.16 GB, free: 362.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003422/6.545, allocations: 89.95 kB / 3.161 GB, free: 362.1 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01199/6.557, allocations: 3.486 MB / 3.164 GB, free: 359.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/6.557, allocations: 11.34 kB / 3.164 GB, free: 359.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/6.569, allocations: 1.784 MB / 3.166 GB, free: 359 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/6.576, allocations: 2.223 MB / 3.168 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/6.576, allocations: 135.7 kB / 3.168 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/6.578, allocations: 231.7 kB / 3.168 GB, free: 357.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01071/6.589, allocations: 4.943 MB / 3.173 GB, free: 355.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/6.602, allocations: 5.057 MB / 3.178 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/6.602, allocations: 7.891 kB / 3.178 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/6.604, allocations: 11.98 kB / 3.178 GB, free: 351.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/6.604, allocations: 199.2 kB / 3.178 GB, free: 351.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/6.637, allocations: 22.18 MB / 3.2 GB, free: 328.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/6.642, allocations: 3.324 MB / 3.203 GB, free: 324.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/6.644, allocations: 1.543 MB / 3.205 GB, free: 323.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006979/6.644, allocations: 0.5105 MB / 3.205 GB, free: 322.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002461/6.647, allocations: 1.745 MB / 3.207 GB, free: 321 MB / 1.151 GB Notification: Performance of pre-optimization done (n=242): time 6.873e-06/6.647, allocations: 0 / 3.207 GB, free: 321 MB / 1.151 GB Notification: Performance of matching and sorting (n=245): time 0.01425/6.661, allocations: 6.085 MB / 3.213 GB, free: 314.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/6.661, allocations: 445.5 kB / 3.213 GB, free: 314.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/6.664, allocations: 1.296 MB / 3.214 GB, free: 313 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003842/6.664, allocations: 33.7 kB / 3.214 GB, free: 313 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/6.665, allocations: 1.624 MB / 3.216 GB, free: 311.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000765/6.666, allocations: 0.7812 MB / 3.217 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/6.666, allocations: 0 / 3.217 GB, free: 310.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001297/6.666, allocations: 411.4 kB / 3.217 GB, free: 310.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/6.668, allocations: 1.255 MB / 3.218 GB, free: 308.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/6.67, allocations: 1.964 MB / 3.22 GB, free: 306.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007596/6.678, allocations: 2.655 MB / 3.223 GB, free: 304 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/6.678, allocations: 4 kB / 3.223 GB, free: 303.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0117/6.689, allocations: 4.517 MB / 3.227 GB, free: 299.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001414/6.691, allocations: 7.078 MB / 3.234 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.864e-05/6.691, allocations: 20 kB / 3.234 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.356e-05/6.691, allocations: 36 kB / 3.234 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004059/6.695, allocations: 0.8112 MB / 3.235 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.719e-05/6.695, allocations: 39.86 kB / 3.235 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/6.699, allocations: 346 kB / 3.236 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000586/6.699, allocations: 139.9 kB / 3.236 GB, free: 290.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/6.699, allocations: 4 kB / 3.236 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/6.711, allocations: 4.046 MB / 3.24 GB, free: 286.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-05/6.711, allocations: 20 kB / 3.24 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/6.711, allocations: 32 kB / 3.24 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/6.715, allocations: 0.7765 MB / 3.24 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.81e-05/6.715, allocations: 43.86 kB / 3.24 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/6.718, allocations: 294.2 kB / 3.241 GB, free: 285.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/6.719, allocations: 135.9 kB / 3.241 GB, free: 285.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (338): * Single equations (assignments): 338 * 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 prepare postOptimizeDAE: time 0.0009819/6.72, allocations: 177.7 kB / 3.241 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007572/6.72, allocations: 225.3 kB / 3.241 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/6.734, allocations: 4.607 MB / 3.246 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/6.734, allocations: 24 kB / 3.246 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/6.734, allocations: 7.938 kB / 3.246 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-05/6.734, allocations: 11.95 kB / 3.246 GB, free: 279.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/6.758, allocations: 8.44 MB / 3.254 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/6.758, allocations: 0 / 3.254 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007702/6.766, allocations: 0.7257 MB / 3.255 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/6.766, allocations: 16 kB / 3.255 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005496/6.767, allocations: 39.94 kB / 3.255 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.607e-05/6.767, allocations: 12 kB / 3.255 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/6.767, allocations: 11.83 kB / 3.255 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/6.786, allocations: 4.582 MB / 3.259 GB, free: 265.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/6.789, allocations: 0.7549 MB / 3.26 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/6.791, allocations: 12 kB / 3.26 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005794/6.796, allocations: 235.7 kB / 3.26 GB, free: 264.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/6.797, allocations: 157.8 kB / 3.26 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005408/6.798, allocations: 91.92 kB / 3.261 GB, free: 264.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003127/6.801, allocations: 1.044 MB / 3.262 GB, free: 263.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.31e-07/6.801, allocations: 0 / 3.262 GB, free: 263.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008912/6.81, allocations: 1.207 MB / 3.263 GB, free: 262.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (265): * Single equations (assignments): 263 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/6.812, allocations: 0.6054 MB / 3.263 GB, free: 261.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01394/6.826, allocations: 4.809 MB / 3.268 GB, free: 257.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/6.826, allocations: 0.625 kB / 3.268 GB, free: 257.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0044/6.831, allocations: 1.546 MB / 3.269 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005519/6.836, allocations: 470.6 kB / 3.27 GB, free: 255.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/6.855, allocations: 5.542 MB / 3.275 GB, free: 249.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/6.86, allocations: 2.544 MB / 3.278 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01309/6.873, allocations: 1.384 MB / 3.279 GB, free: 245.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/6.875, allocations: 239.2 kB / 3.279 GB, free: 245.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.803e-06/6.875, allocations: 0 / 3.279 GB, free: 245.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07578/6.951, allocations: 39.02 MB / 3.318 GB, free: 206.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches