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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.481/2.481, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001403/0.001403, allocations: 184 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001022/0.001022, allocations: 83.77 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.31e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3996, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.139/5.538, allocations: 1.781 GB / 2.999 GB, free: 53.63 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/5.539, allocations: 103.9 kB / 3 GB, free: 53.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.193/6.732, allocations: 173 MB / 3.168 GB, free: 358.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/6.732, allocations: 0 / 3.168 GB, free: 358.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000351/6.732, allocations: 95.94 kB / 3.169 GB, free: 358.2 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01303/6.746, allocations: 3.485 MB / 3.172 GB, free: 354.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/6.746, allocations: 12.03 kB / 3.172 GB, free: 354.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003354/6.749, allocations: 0.5755 MB / 3.173 GB, free: 354 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/6.762, allocations: 1.79 MB / 3.174 GB, free: 352.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/6.769, allocations: 2.214 MB / 3.176 GB, free: 350 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/6.77, allocations: 312.1 kB / 3.177 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/6.772, allocations: 396 kB / 3.177 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/6.793, allocations: 5.637 MB / 3.183 GB, free: 343.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002547/6.793, allocations: 11.84 kB / 3.183 GB, free: 343.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/6.795, allocations: 175.9 kB / 3.183 GB, free: 343.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/6.795, allocations: 195.2 kB / 3.183 GB, free: 343 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/6.81, allocations: 5.35 MB / 3.188 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04083/6.85, allocations: 23.12 MB / 3.211 GB, free: 313.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/6.856, allocations: 3.472 MB / 3.214 GB, free: 309.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/6.859, allocations: 1.61 MB / 3.216 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/6.859, allocations: 0.5112 MB / 3.216 GB, free: 307.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002736/6.862, allocations: 1.807 MB / 3.218 GB, free: 305.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=242): time 4.559e-06/6.862, allocations: 0 / 3.218 GB, free: 305.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=245): time 0.008606/6.871, allocations: 5.121 MB / 3.223 GB, free: 300.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/6.871, allocations: 445.5 kB / 3.223 GB, free: 299.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/6.873, allocations: 1.531 MB / 3.225 GB, free: 298.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/6.874, allocations: 73.64 kB / 3.225 GB, free: 298.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/6.875, allocations: 1.618 MB / 3.227 GB, free: 296.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000967/6.876, allocations: 0.8163 MB / 3.227 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/6.876, allocations: 56 kB / 3.227 GB, free: 295.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001617/6.877, allocations: 411.4 kB / 3.228 GB, free: 295.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/6.879, allocations: 1.306 MB / 3.229 GB, free: 294.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/6.881, allocations: 2.032 MB / 3.231 GB, free: 291.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/6.883, allocations: 1.601 MB / 3.233 GB, free: 290.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/6.883, allocations: 8 kB / 3.233 GB, free: 290.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.005915/6.889, allocations: 3.643 MB / 3.236 GB, free: 286.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002649/6.892, allocations: 7.157 MB / 3.243 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/6.892, allocations: 16 kB / 3.243 GB, free: 278.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.625e-05/6.892, allocations: 39.95 kB / 3.243 GB, free: 278.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/6.896, allocations: 0.8112 MB / 3.244 GB, free: 277.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.823e-05/6.896, allocations: 47.86 kB / 3.244 GB, free: 277.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00396/6.9, allocations: 398.1 kB / 3.244 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/6.901, allocations: 135.9 kB / 3.245 GB, free: 277.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/6.901, allocations: 5.875 kB / 3.245 GB, free: 277.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/6.906, allocations: 3.222 MB / 3.248 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/6.906, allocations: 19.98 kB / 3.248 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/6.906, allocations: 36 kB / 3.248 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003803/6.91, allocations: 0.7688 MB / 3.249 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.993e-05/6.91, allocations: 47.86 kB / 3.249 GB, free: 273 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/6.914, allocations: 350.2 kB / 3.249 GB, free: 272.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004471/6.914, allocations: 135.9 kB / 3.249 GB, free: 272.5 MB / 1.167 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.0009368/6.915, allocations: 281 kB / 3.249 GB, free: 272.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007196/6.916, allocations: 229.2 kB / 3.25 GB, free: 272 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006733/6.922, allocations: 3.68 MB / 3.253 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/6.922, allocations: 28 kB / 3.253 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/6.922, allocations: 0 / 3.253 GB, free: 268.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/6.923, allocations: 11.95 kB / 3.253 GB, free: 268.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/6.936, allocations: 8.241 MB / 3.261 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/6.936, allocations: 0 / 3.261 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004126/6.94, allocations: 0.7374 MB / 3.262 GB, free: 259.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.255e-05/6.94, allocations: 15.95 kB / 3.262 GB, free: 259.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004876/6.94, allocations: 67.94 kB / 3.262 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/6.94, allocations: 12 kB / 3.262 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/6.94, allocations: 4 kB / 3.262 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/6.946, allocations: 3.643 MB / 3.266 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/6.947, allocations: 0.7666 MB / 3.266 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/6.948, allocations: 51.98 kB / 3.266 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/6.95, allocations: 287.7 kB / 3.267 GB, free: 254.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/6.951, allocations: 161.7 kB / 3.267 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/6.951, allocations: 95.88 kB / 3.267 GB, free: 253.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001799/6.953, allocations: 1.249 MB / 3.268 GB, free: 252.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.953, allocations: 0 / 3.268 GB, free: 252.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004501/6.957, allocations: 1.351 MB / 3.269 GB, free: 251.2 MB / 1.167 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.00668/6.964, allocations: 5.322 MB / 3.275 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008896/6.973, allocations: 5.044 MB / 3.28 GB, free: 240.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/6.973, allocations: 0 / 3.28 GB, free: 240.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/6.975, allocations: 1.605 MB / 3.281 GB, free: 239.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003646/6.979, allocations: 0.5197 MB / 3.282 GB, free: 238.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/6.995, allocations: 6.607 MB / 3.288 GB, free: 232 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/6.997, allocations: 2.545 MB / 3.291 GB, free: 229.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006225/7.003, allocations: 1.397 MB / 3.292 GB, free: 228 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/7.006, allocations: 1.456 MB / 3.293 GB, free: 226.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/7.006, allocations: 0 / 3.293 GB, free: 226.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/7.109, allocations: 67.08 MB / 3.359 GB, free: 159.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/7.109, allocations: 224.6 kB / 3.359 GB, free: 159.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.079/11.19, allocations: 0 / 3.359 GB, free: 159.6 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat does not exist to compare? outputFormat=mat