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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.688/1.688, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008989/0.0008989, allocations: 189.2 kB / 490.8 MB, free: 1.945 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.054/1.054, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0007965/0.0007966, allocations: 84.69 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.911e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.336/2.497, allocations: 1.779 GB / 2.991 GB, free: 64.91 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/2.498, allocations: 95.44 kB / 2.991 GB, free: 64.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6956/3.193, allocations: 197.4 MB / 3.184 GB, free: 327.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001893/3.193, allocations: 106.6 kB / 3.184 GB, free: 327.6 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.006976/3.2, allocations: 3.782 MB / 3.188 GB, free: 323.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/3.2, allocations: 8.031 kB / 3.188 GB, free: 323.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/3.211, allocations: 2.011 MB / 3.19 GB, free: 321.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/3.215, allocations: 2.424 MB / 3.192 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/3.215, allocations: 140 kB / 3.192 GB, free: 319.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006827/3.216, allocations: 259.9 kB / 3.192 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007176/3.223, allocations: 5.343 MB / 3.198 GB, free: 313.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00685/3.23, allocations: 5.579 MB / 3.203 GB, free: 307.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-05/3.23, allocations: 11.92 kB / 3.203 GB, free: 307.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/3.23, allocations: 12 kB / 3.203 GB, free: 307.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/3.231, allocations: 231.6 kB / 3.203 GB, free: 307.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/3.254, allocations: 26.03 MB / 3.229 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/3.257, allocations: 3.409 MB / 3.232 GB, free: 276.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/3.259, allocations: 1.815 MB / 3.234 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/3.26, allocations: 0.5129 MB / 3.234 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/3.262, allocations: 1.952 MB / 3.236 GB, free: 272 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 3.998e-06/3.262, allocations: 0 / 3.236 GB, free: 272 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.006548/3.268, allocations: 5.743 MB / 3.242 GB, free: 266.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/3.268, allocations: 445.2 kB / 3.242 GB, free: 265.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/3.27, allocations: 1.372 MB / 3.244 GB, free: 264.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/3.27, allocations: 25.7 kB / 3.244 GB, free: 264.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/3.27, allocations: 1.488 MB / 3.245 GB, free: 262.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/3.271, allocations: 0.8274 MB / 3.246 GB, free: 262 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/3.271, allocations: 0 / 3.246 GB, free: 262 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001042/3.271, allocations: 419.7 kB / 3.246 GB, free: 261.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/3.273, allocations: 1.411 MB / 3.248 GB, free: 260.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/3.275, allocations: 2.096 MB / 3.25 GB, free: 257.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/3.277, allocations: 1.854 MB / 3.251 GB, free: 255.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/3.277, allocations: 4 kB / 3.251 GB, free: 255.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.005234/3.282, allocations: 3.891 MB / 3.255 GB, free: 251.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000802/3.283, allocations: 6.752 MB / 3.262 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/3.283, allocations: 24 kB / 3.262 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/3.283, allocations: 35.94 kB / 3.262 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003889/3.287, allocations: 0.8229 MB / 3.263 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/3.287, allocations: 39.92 kB / 3.263 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/3.29, allocations: 326.1 kB / 3.263 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/3.29, allocations: 143.8 kB / 3.263 GB, free: 243.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-06/3.29, allocations: 4 kB / 3.263 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004475/3.295, allocations: 3.294 MB / 3.266 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/3.295, allocations: 20.94 kB / 3.266 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/3.295, allocations: 32 kB / 3.266 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/3.298, allocations: 0.7878 MB / 3.267 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/3.299, allocations: 43.86 kB / 3.267 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/3.301, allocations: 302.2 kB / 3.268 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/3.301, allocations: 139.9 kB / 3.268 GB, free: 238.7 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.0004306/3.302, allocations: 176.3 kB / 3.268 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/3.302, allocations: 233.2 kB / 3.268 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006644/3.309, allocations: 4.201 MB / 3.272 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/3.309, allocations: 28 kB / 3.272 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/3.309, allocations: 0 / 3.272 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/3.309, allocations: 19.95 kB / 3.272 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009985/3.319, allocations: 9.11 MB / 3.281 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/3.319, allocations: 8 kB / 3.281 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003613/3.322, allocations: 0.714 MB / 3.282 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/3.322, allocations: 27.78 kB / 3.282 GB, free: 224.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/3.323, allocations: 43.94 kB / 3.282 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/3.323, allocations: 16 kB / 3.282 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/3.323, allocations: 7.938 kB / 3.282 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004534/3.327, allocations: 4.382 MB / 3.286 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/3.328, allocations: 0.8173 MB / 3.287 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/3.329, allocations: 8 kB / 3.287 GB, free: 218.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/3.331, allocations: 239.7 kB / 3.287 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/3.332, allocations: 153.6 kB / 3.287 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/3.332, allocations: 99.94 kB / 3.287 GB, free: 217.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001057/3.333, allocations: 1.106 MB / 3.289 GB, free: 216.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00296/3.336, allocations: 1.284 MB / 3.29 GB, free: 215.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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.001003/3.337, allocations: 0.5761 MB / 3.29 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005587/3.342, allocations: 5.342 MB / 3.296 GB, free: 209.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/3.342, allocations: 8.125 kB / 3.296 GB, free: 209.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/3.344, allocations: 1.796 MB / 3.297 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/3.346, allocations: 0.5121 MB / 3.298 GB, free: 207.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/3.355, allocations: 6.291 MB / 3.304 GB, free: 201 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/3.358, allocations: 3.049 MB / 3.307 GB, free: 197.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.358, allocations: 0 / 3.307 GB, free: 197.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06658/3.425, allocations: 65.51 MB / 3.371 GB, free: 132.8 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