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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",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.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00107/0.00107, allocations: 180.9 kB / 496.1 MB, free: 12.88 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.672/1.672, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001038/0.001038, allocations: 87.97 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.579e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3705, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.402, allocations: 1.78 GB / 2.999 GB, free: 54.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/5.403, allocations: 96.62 kB / 2.999 GB, free: 54.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.216/6.619, allocations: 197.7 MB / 3.192 GB, free: 333.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.835e-06/6.619, allocations: 0 / 3.192 GB, free: 333.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003985/6.619, allocations: 103.9 kB / 3.192 GB, free: 333.8 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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.01364/6.633, allocations: 3.694 MB / 3.196 GB, free: 330 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/6.633, allocations: 12.03 kB / 3.196 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002727/6.636, allocations: 0.6128 MB / 3.196 GB, free: 329.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/6.649, allocations: 1.863 MB / 3.198 GB, free: 327.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006374/6.655, allocations: 2.418 MB / 3.2 GB, free: 325 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/6.656, allocations: 324.8 kB / 3.201 GB, free: 324.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/6.657, allocations: 431.9 kB / 3.201 GB, free: 324.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/6.672, allocations: 6.116 MB / 3.207 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/6.672, allocations: 7.938 kB / 3.207 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/6.673, allocations: 188 kB / 3.207 GB, free: 317.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/6.673, allocations: 215.6 kB / 3.208 GB, free: 317.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/6.686, allocations: 5.718 MB / 3.213 GB, free: 311.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04169/6.728, allocations: 26.45 MB / 3.239 GB, free: 283.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005655/6.733, allocations: 3.763 MB / 3.243 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/6.736, allocations: 1.841 MB / 3.244 GB, free: 278.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/6.737, allocations: 0.5033 MB / 3.245 GB, free: 277.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002955/6.74, allocations: 2.015 MB / 3.247 GB, free: 275.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=256): time 4.628e-06/6.74, allocations: 0 / 3.247 GB, free: 275.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=259): time 0.009671/6.749, allocations: 5.657 MB / 3.252 GB, free: 269.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/6.75, allocations: 457.2 kB / 3.253 GB, free: 269.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/6.752, allocations: 1.592 MB / 3.254 GB, free: 267.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008451/6.753, allocations: 73.7 kB / 3.254 GB, free: 267.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/6.755, allocations: 1.72 MB / 3.256 GB, free: 265.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/6.756, allocations: 0.8624 MB / 3.257 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/6.756, allocations: 56 kB / 3.257 GB, free: 264.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001622/6.756, allocations: 415.5 kB / 3.257 GB, free: 264.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/6.759, allocations: 1.427 MB / 3.259 GB, free: 262.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/6.761, allocations: 2.133 MB / 3.261 GB, free: 260.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/6.764, allocations: 1.723 MB / 3.263 GB, free: 258.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/6.764, allocations: 4 kB / 3.263 GB, free: 258.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.006317/6.77, allocations: 3.899 MB / 3.266 GB, free: 254.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001441/6.771, allocations: 6.851 MB / 3.273 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/6.772, allocations: 16 kB / 3.273 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.016e-05/6.772, allocations: 32 kB / 3.273 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/6.776, allocations: 0.8463 MB / 3.274 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.39e-05/6.776, allocations: 43.84 kB / 3.274 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/6.78, allocations: 410.1 kB / 3.274 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/6.78, allocations: 143.8 kB / 3.275 GB, free: 245.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/6.78, allocations: 4 kB / 3.275 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00534/6.786, allocations: 3.358 MB / 3.278 GB, free: 242.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/6.786, allocations: 20 kB / 3.278 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/6.786, allocations: 32 kB / 3.278 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/6.79, allocations: 0.7996 MB / 3.279 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.658e-05/6.79, allocations: 47.81 kB / 3.279 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/6.794, allocations: 366.1 kB / 3.279 GB, free: 241.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000557/6.794, allocations: 135.9 kB / 3.279 GB, free: 241.1 MB / 1.167 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.001239/6.795, allocations: 268.2 kB / 3.279 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/6.796, allocations: 249.1 kB / 3.28 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008379/6.805, allocations: 4.085 MB / 3.284 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/6.805, allocations: 28 kB / 3.284 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/6.805, allocations: 3.953 kB / 3.284 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/6.805, allocations: 15.95 kB / 3.284 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/6.819, allocations: 9.098 MB / 3.293 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/6.819, allocations: 0 / 3.293 GB, free: 227.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003974/6.823, allocations: 0.7958 MB / 3.293 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.07e-05/6.823, allocations: 12 kB / 3.293 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/6.824, allocations: 79.88 kB / 3.293 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/6.824, allocations: 12 kB / 3.293 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/6.824, allocations: 4 kB / 3.293 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/6.829, allocations: 4.005 MB / 3.297 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/6.831, allocations: 0.8365 MB / 3.298 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/6.831, allocations: 52 kB / 3.298 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/6.835, allocations: 307.6 kB / 3.299 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/6.835, allocations: 165.8 kB / 3.299 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/6.835, allocations: 95.94 kB / 3.299 GB, free: 220.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001944/6.837, allocations: 1.307 MB / 3.3 GB, free: 219.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/6.837, allocations: 0 / 3.3 GB, free: 219.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005461/6.843, allocations: 1.437 MB / 3.301 GB, free: 217.8 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 (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.007029/6.85, allocations: 5.701 MB / 3.307 GB, free: 212.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008184/6.858, allocations: 5.434 MB / 3.312 GB, free: 206.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/6.858, allocations: 64 / 3.312 GB, free: 206.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/6.86, allocations: 1.781 MB / 3.314 GB, free: 204.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/6.864, allocations: 0.5807 MB / 3.315 GB, free: 204.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/6.881, allocations: 7.229 MB / 3.322 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/6.884, allocations: 2.703 MB / 3.324 GB, free: 194.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006678/6.89, allocations: 1.433 MB / 3.326 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/6.893, allocations: 1.597 MB / 3.327 GB, free: 191.2 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/6.893, allocations: 4 kB / 3.327 GB, free: 191.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/7.007, allocations: 72.29 MB / 3.398 GB, free: 119.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/7.007, allocations: 224.9 kB / 3.398 GB, free: 119 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.483/11.49, allocations: 0 / 3.398 GB, free: 119 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat does not exist to compare? outputFormat=mat