Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.224/2.224, allocations: 390.5 MB / 398 MB, free: 10.94 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.001171/0.001171, allocations: 184.8 kB / 491.2 MB, free: 1.598 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: 221.5 MB / 0.7868 GB, free: 13.34 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.001003/0.001003, allocations: 87.61 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.469e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.264, allocations: 1.779 GB / 2.992 GB, free: 83.87 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/5.264, allocations: 104.4 kB / 2.992 GB, free: 83.77 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.042/6.307, allocations: 196.8 MB / 3.184 GB, free: 346.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.264e-06/6.307, allocations: 4 kB / 3.184 GB, free: 346.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003965/6.307, allocations: 103.6 kB / 3.184 GB, free: 346.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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.01274/6.32, allocations: 3.694 MB / 3.188 GB, free: 342.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/6.32, allocations: 12.03 kB / 3.188 GB, free: 342.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/6.333, allocations: 1.867 MB / 3.189 GB, free: 340.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/6.339, allocations: 2.412 MB / 3.192 GB, free: 338.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/6.34, allocations: 141.2 kB / 3.192 GB, free: 337.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/6.342, allocations: 252 kB / 3.192 GB, free: 337.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01234/6.354, allocations: 5.242 MB / 3.197 GB, free: 332.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/6.37, allocations: 5.499 MB / 3.203 GB, free: 326.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/6.371, allocations: 7.938 kB / 3.203 GB, free: 326.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/6.372, allocations: 11.98 kB / 3.203 GB, free: 326.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/6.373, allocations: 219.6 kB / 3.203 GB, free: 326.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/6.408, allocations: 25.39 MB / 3.228 GB, free: 299.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/6.415, allocations: 3.621 MB / 3.231 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/6.417, allocations: 1.758 MB / 3.233 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/6.418, allocations: 0.5166 MB / 3.233 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002714/6.421, allocations: 1.921 MB / 3.235 GB, free: 291.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 7.564e-06/6.421, allocations: 4 kB / 3.235 GB, free: 291.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.01603/6.437, allocations: 6.613 MB / 3.242 GB, free: 285 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/6.437, allocations: 445.2 kB / 3.242 GB, free: 284.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/6.44, allocations: 1.348 MB / 3.244 GB, free: 283.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005374/6.44, allocations: 41.92 kB / 3.244 GB, free: 283.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/6.442, allocations: 1.734 MB / 3.245 GB, free: 281.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009782/6.443, allocations: 0.8269 MB / 3.246 GB, free: 280.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/6.443, allocations: 0 / 3.246 GB, free: 280.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001999/6.443, allocations: 411.6 kB / 3.246 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/6.445, allocations: 1.372 MB / 3.248 GB, free: 278.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/6.448, allocations: 2.069 MB / 3.25 GB, free: 276.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007886/6.456, allocations: 2.769 MB / 3.253 GB, free: 273.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/6.456, allocations: 4 kB / 3.253 GB, free: 273.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01271/6.468, allocations: 4.761 MB / 3.257 GB, free: 268.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001209/6.47, allocations: 6.776 MB / 3.264 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/6.47, allocations: 20.14 kB / 3.264 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.11e-05/6.47, allocations: 32 kB / 3.264 GB, free: 261.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/6.474, allocations: 0.8502 MB / 3.265 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-05/6.474, allocations: 43.86 kB / 3.265 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/6.478, allocations: 358 kB / 3.265 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005404/6.478, allocations: 135.9 kB / 3.265 GB, free: 260.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/6.478, allocations: 4 kB / 3.265 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01156/6.49, allocations: 4.189 MB / 3.269 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-05/6.49, allocations: 19.98 kB / 3.269 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.826e-05/6.49, allocations: 32 kB / 3.269 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/6.494, allocations: 0.796 MB / 3.27 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.363e-05/6.494, allocations: 43.92 kB / 3.27 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/6.498, allocations: 298.2 kB / 3.27 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/6.498, allocations: 139.9 kB / 3.271 GB, free: 254.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (348): * Single equations (assignments): 348 * 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.00104/6.499, allocations: 187.1 kB / 3.271 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008078/6.5, allocations: 233.2 kB / 3.271 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/6.513, allocations: 4.977 MB / 3.276 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/6.513, allocations: 31.98 kB / 3.276 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/6.513, allocations: 0 / 3.276 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-05/6.513, allocations: 15.95 kB / 3.276 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/6.533, allocations: 9.212 MB / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/6.533, allocations: 0 / 3.285 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004053/6.537, allocations: 0.7959 MB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.562e-05/6.537, allocations: 15.95 kB / 3.286 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003619/6.537, allocations: 43.94 kB / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-05/6.537, allocations: 15.98 kB / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/6.537, allocations: 4 kB / 3.286 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/6.548, allocations: 4.94 MB / 3.291 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/6.55, allocations: 0.8133 MB / 3.291 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009668/6.551, allocations: 11.98 kB / 3.291 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/6.555, allocations: 255.6 kB / 3.292 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/6.555, allocations: 173.8 kB / 3.292 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/6.555, allocations: 95.94 kB / 3.292 GB, free: 232.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002113/6.557, allocations: 1.09 MB / 3.293 GB, free: 231.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.52e-07/6.557, allocations: 0 / 3.293 GB, free: 231.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005473/6.563, allocations: 1.279 MB / 3.294 GB, free: 230 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 (279): * Single equations (assignments): 277 * 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.001522/6.564, allocations: 0.606 MB / 3.295 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00709/6.571, allocations: 5.186 MB / 3.3 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/6.571, allocations: 0 / 3.3 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/6.574, allocations: 1.731 MB / 3.302 GB, free: 222.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/6.577, allocations: 0.5202 MB / 3.302 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/6.589, allocations: 6.089 MB / 3.308 GB, free: 215.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002832/6.592, allocations: 2.706 MB / 3.311 GB, free: 213.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005866/6.598, allocations: 1.413 MB / 3.312 GB, free: 211.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009866/6.599, allocations: 247.3 kB / 3.312 GB, free: 211.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/6.599, allocations: 0 / 3.312 GB, free: 211.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06156/6.66, allocations: 42.47 MB / 3.354 GB, free: 169.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches