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.437/2.437, allocations: 390.5 MB / 398 MB, free: 11.01 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.001407/0.001407, allocations: 191.7 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.623/1.623, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009465/0.0009465, allocations: 91.92 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.461e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.276/5.577, allocations: 1.779 GB / 2.992 GB, free: 59.34 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/5.578, allocations: 109.8 kB / 2.992 GB, free: 59.28 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/6.702, allocations: 196.8 MB / 3.184 GB, free: 327.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/6.702, allocations: 0 / 3.184 GB, free: 327.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003012/6.702, allocations: 99.98 kB / 3.184 GB, free: 327.8 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.01159/6.714, allocations: 3.7 MB / 3.188 GB, free: 324 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/6.714, allocations: 8.031 kB / 3.188 GB, free: 324 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/6.726, allocations: 1.863 MB / 3.19 GB, free: 322.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/6.732, allocations: 2.414 MB / 3.192 GB, free: 319.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/6.733, allocations: 140 kB / 3.192 GB, free: 319.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/6.734, allocations: 252 kB / 3.192 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/6.746, allocations: 5.246 MB / 3.197 GB, free: 314 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/6.762, allocations: 5.491 MB / 3.203 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/6.762, allocations: 7.938 kB / 3.203 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009082/6.763, allocations: 8 kB / 3.203 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/6.763, allocations: 219.6 kB / 3.203 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/6.8, allocations: 25.4 MB / 3.228 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005398/6.805, allocations: 3.621 MB / 3.231 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/6.807, allocations: 1.766 MB / 3.233 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/6.808, allocations: 0.5151 MB / 3.234 GB, free: 275.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/6.81, allocations: 1.929 MB / 3.235 GB, free: 273.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 4.508e-06/6.81, allocations: 0 / 3.235 GB, free: 273.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.02057/6.831, allocations: 6.605 MB / 3.242 GB, free: 266.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/6.831, allocations: 441.2 kB / 3.242 GB, free: 265.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/6.834, allocations: 1.36 MB / 3.244 GB, free: 264.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009611/6.835, allocations: 29.7 kB / 3.244 GB, free: 264.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002412/6.838, allocations: 1.734 MB / 3.245 GB, free: 262.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/6.84, allocations: 0.8235 MB / 3.246 GB, free: 261.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/6.84, allocations: 3.938 kB / 3.246 GB, free: 261.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002244/6.84, allocations: 415.5 kB / 3.247 GB, free: 261.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/6.844, allocations: 1.376 MB / 3.248 GB, free: 260.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/6.848, allocations: 2.073 MB / 3.25 GB, free: 257.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/6.863, allocations: 2.761 MB / 3.253 GB, free: 255 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.032e-05/6.863, allocations: 4 kB / 3.253 GB, free: 255 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.02343/6.886, allocations: 4.766 MB / 3.257 GB, free: 250.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001605/6.888, allocations: 6.775 MB / 3.264 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/6.888, allocations: 16 kB / 3.264 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.612e-05/6.888, allocations: 32 kB / 3.264 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009398/6.897, allocations: 0.8502 MB / 3.265 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.405e-05/6.897, allocations: 39.86 kB / 3.265 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007165/6.905, allocations: 354.1 kB / 3.265 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/6.906, allocations: 139.9 kB / 3.265 GB, free: 241.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/6.906, allocations: 8 kB / 3.265 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01961/6.926, allocations: 4.181 MB / 3.269 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.653e-05/6.926, allocations: 20 kB / 3.269 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-05/6.926, allocations: 32 kB / 3.269 GB, free: 237.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/6.933, allocations: 0.7963 MB / 3.27 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-05/6.933, allocations: 43.86 kB / 3.27 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/6.939, allocations: 310.1 kB / 3.271 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008067/6.94, allocations: 127.9 kB / 3.271 GB, free: 236 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.001172/6.941, allocations: 184.3 kB / 3.271 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01939/6.96, allocations: 4.34 MB / 3.275 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/6.962, allocations: 225.3 kB / 3.275 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/6.983, allocations: 4.989 MB / 3.28 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/6.983, allocations: 27.94 kB / 3.28 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/6.983, allocations: 7.953 kB / 3.28 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/6.983, allocations: 15.94 kB / 3.28 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/7.007, allocations: 9.228 MB / 3.289 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/7.008, allocations: 8.062 kB / 3.289 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004726/7.012, allocations: 0.7879 MB / 3.29 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-05/7.012, allocations: 12 kB / 3.29 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006892/7.013, allocations: 43.94 kB / 3.29 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.378e-05/7.013, allocations: 15.94 kB / 3.29 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/7.013, allocations: 0 / 3.29 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/7.028, allocations: 4.955 MB / 3.295 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/7.031, allocations: 0.8056 MB / 3.296 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/7.033, allocations: 11.98 kB / 3.296 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/7.039, allocations: 259.6 kB / 3.296 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008268/7.04, allocations: 157.8 kB / 3.296 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000512/7.04, allocations: 95.94 kB / 3.296 GB, free: 209.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002718/7.043, allocations: 1.098 MB / 3.297 GB, free: 208.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.342e-06/7.043, allocations: 0 / 3.297 GB, free: 208.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008389/7.052, allocations: 1.285 MB / 3.299 GB, free: 207 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.01412/7.066, allocations: 6.57 MB / 3.305 GB, free: 200.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007912/7.074, allocations: 5.194 MB / 3.31 GB, free: 195.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/7.074, allocations: 0 / 3.31 GB, free: 195.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/7.076, allocations: 1.73 MB / 3.312 GB, free: 193.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/7.08, allocations: 0.5314 MB / 3.312 GB, free: 192.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/7.097, allocations: 6.97 MB / 3.319 GB, free: 185.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/7.099, allocations: 2.702 MB / 3.322 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006908/7.106, allocations: 1.413 MB / 3.323 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002685/7.109, allocations: 1.593 MB / 3.325 GB, free: 180.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.382e-06/7.109, allocations: 0 / 3.325 GB, free: 180.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/7.225, allocations: 68.36 MB / 3.391 GB, free: 112 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/7.225, allocations: 203.2 kB / 3.392 GB, free: 111.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/11.4, allocations: 0 / 3.392 GB, free: 111.7 MB / 1.151 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