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.299/2.299, allocations: 390.5 MB / 398 MB, free: 10.99 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.001398/0.001398, allocations: 176.8 kB / 491.2 MB, free: 1.59 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.537/1.537, 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.0009251/0.0009251, allocations: 101.1 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.279e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.526, allocations: 1.78 GB / 2.992 GB, free: 58.54 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/5.526, allocations: 112.2 kB / 2.992 GB, free: 58.47 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.291/6.817, allocations: 172.2 MB / 3.161 GB, free: 351.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.725e-06/6.817, allocations: 0 / 3.161 GB, free: 351.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003592/6.818, allocations: 95.84 kB / 3.161 GB, free: 351.7 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.01264/6.83, allocations: 3.48 MB / 3.164 GB, free: 348.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/6.83, allocations: 12.03 kB / 3.164 GB, free: 348.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/6.843, allocations: 1.793 MB / 3.166 GB, free: 346.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/6.85, allocations: 2.226 MB / 3.168 GB, free: 344.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/6.851, allocations: 132 kB / 3.168 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/6.853, allocations: 236 kB / 3.168 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01282/6.866, allocations: 4.932 MB / 3.173 GB, free: 338.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/6.884, allocations: 5.062 MB / 3.178 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/6.884, allocations: 15.8 kB / 3.178 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/6.886, allocations: 8 kB / 3.178 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/6.887, allocations: 199.2 kB / 3.178 GB, free: 333.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/6.93, allocations: 22.16 MB / 3.2 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/6.937, allocations: 3.338 MB / 3.203 GB, free: 306.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/6.939, allocations: 1.543 MB / 3.205 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008512/6.94, allocations: 0.5128 MB / 3.205 GB, free: 304.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003272/6.943, allocations: 1.737 MB / 3.207 GB, free: 302.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=242): time 9.147e-06/6.943, allocations: 0 / 3.207 GB, free: 302.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=245): time 0.01882/6.962, allocations: 6.081 MB / 3.213 GB, free: 296.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/6.962, allocations: 445.2 kB / 3.213 GB, free: 296 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/6.965, allocations: 1.3 MB / 3.215 GB, free: 294.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008745/6.966, allocations: 29.7 kB / 3.215 GB, free: 294.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001907/6.968, allocations: 1.628 MB / 3.216 GB, free: 293 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/6.97, allocations: 0.7851 MB / 3.217 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006938/6.97, allocations: 0 / 3.217 GB, free: 292.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000264/6.971, allocations: 411.4 kB / 3.217 GB, free: 291.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/6.973, allocations: 1.255 MB / 3.219 GB, free: 290.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/6.976, allocations: 1.96 MB / 3.22 GB, free: 288.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008631/6.985, allocations: 2.658 MB / 3.223 GB, free: 285.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/6.985, allocations: 4 kB / 3.223 GB, free: 285.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0149/7, allocations: 4.522 MB / 3.228 GB, free: 281 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001845/7.002, allocations: 7.071 MB / 3.234 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/7.002, allocations: 20 kB / 3.234 GB, free: 273.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.413e-05/7.002, allocations: 32 kB / 3.234 GB, free: 273.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/7.007, allocations: 0.819 MB / 3.235 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.983e-05/7.007, allocations: 39.86 kB / 3.235 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/7.011, allocations: 342.1 kB / 3.236 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009545/7.012, allocations: 139.8 kB / 3.236 GB, free: 272.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/7.012, allocations: 4 kB / 3.236 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/7.025, allocations: 4.046 MB / 3.24 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.646e-05/7.025, allocations: 20 kB / 3.24 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.673e-05/7.025, allocations: 36.16 kB / 3.24 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/7.03, allocations: 0.7722 MB / 3.241 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-05/7.03, allocations: 43.86 kB / 3.241 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/7.034, allocations: 298.2 kB / 3.241 GB, free: 266.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008962/7.035, allocations: 131.9 kB / 3.241 GB, free: 266.7 MB / 1.151 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.001561/7.036, allocations: 172.2 kB / 3.241 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01234/7.048, allocations: 3.997 MB / 3.245 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/7.05, allocations: 217.4 kB / 3.245 GB, free: 262.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/7.063, allocations: 4.607 MB / 3.25 GB, free: 257.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/7.063, allocations: 24 kB / 3.25 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/7.063, allocations: 8 kB / 3.25 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.754e-05/7.063, allocations: 11.95 kB / 3.25 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/7.085, allocations: 8.447 MB / 3.258 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/7.085, allocations: 0 / 3.258 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004179/7.09, allocations: 0.7257 MB / 3.259 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/7.09, allocations: 12 kB / 3.259 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/7.09, allocations: 47.89 kB / 3.259 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/7.09, allocations: 15.94 kB / 3.259 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/7.09, allocations: 3.984 kB / 3.259 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/7.103, allocations: 4.586 MB / 3.263 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/7.105, allocations: 0.7511 MB / 3.264 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/7.106, allocations: 8 kB / 3.264 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/7.11, allocations: 239.7 kB / 3.264 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/7.11, allocations: 161.8 kB / 3.264 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003871/7.111, allocations: 87.94 kB / 3.265 GB, free: 242.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002304/7.113, allocations: 1.044 MB / 3.266 GB, free: 241.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.81e-07/7.113, allocations: 0 / 3.266 GB, free: 241.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008627/7.122, allocations: 1.202 MB / 3.267 GB, free: 240.1 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 (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.01559/7.137, allocations: 6.224 MB / 3.273 GB, free: 233.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01083/7.148, allocations: 4.815 MB / 3.277 GB, free: 229 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/7.148, allocations: 2.625 kB / 3.277 GB, free: 229 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/7.151, allocations: 1.546 MB / 3.279 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/7.155, allocations: 472.3 kB / 3.279 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/7.172, allocations: 6.36 MB / 3.286 GB, free: 220.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/7.174, allocations: 2.548 MB / 3.288 GB, free: 218 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.007612/7.182, allocations: 1.388 MB / 3.289 GB, free: 216.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/7.185, allocations: 1.46 MB / 3.291 GB, free: 215.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.453e-06/7.185, allocations: 0 / 3.291 GB, free: 215.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/7.299, allocations: 63.42 MB / 3.353 GB, free: 151.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/7.3, allocations: 211.7 kB / 3.353 GB, free: 151.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.931/11.23, allocations: 0 / 3.353 GB, free: 151.6 MB / 1.151 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