Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.305/2.305, allocations: 393.5 MB / 408.4 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.001607/0.001607, allocations: 183.7 kB / 0.4901 GB, free: 2.266 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.518/1.518, allocations: 223.1 MB / 0.7992 GB, free: 15.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.001162/0.001162, allocations: 104.7 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8.906 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.229, allocations: 193.3 MB / 1.418 GB, free: 71.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.23, allocations: 99.42 kB / 1.418 GB, free: 71.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.4108/1.64, allocations: 170.5 MB / 1.585 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.366e-06/1.64, allocations: 0 / 1.585 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002728/1.641, allocations: 91.98 kB / 1.585 GB, free: 3.23 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01103/1.652, allocations: 3.493 MB / 1.588 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.652, allocations: 12.5 kB / 1.588 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003349/1.655, allocations: 0.6413 MB / 1.589 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007809/1.663, allocations: 0.9574 MB / 1.59 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008801/1.672, allocations: 2.294 MB / 1.592 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000546/1.672, allocations: 330.9 kB / 1.592 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/1.675, allocations: 420 kB / 1.593 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/1.695, allocations: 6.687 MB / 1.599 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/1.695, allocations: 19.78 kB / 1.599 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/1.697, allocations: 184 kB / 1.599 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003558/1.698, allocations: 258.9 kB / 1.6 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/1.711, allocations: 5.32 MB / 1.605 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/1.757, allocations: 32.47 MB / 1.637 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/1.76, allocations: 1.866 MB / 1.638 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/1.76, allocations: 109.8 kB / 1.639 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/1.76, allocations: 43.25 kB / 1.639 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=86): time 3.276e-06/1.76, allocations: 0 / 1.639 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=89): time 0.008305/1.768, allocations: 4.775 MB / 1.643 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/1.768, allocations: 141.2 kB / 1.643 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/1.771, allocations: 1.459 MB / 1.645 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/1.771, allocations: 45.64 kB / 1.645 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.772, allocations: 1.905 MB / 1.647 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/1.772, allocations: 335.5 kB / 1.647 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.773, allocations: 40 kB / 1.647 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.773, allocations: 398 kB / 1.647 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.774, allocations: 1.097 MB / 1.649 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/1.777, allocations: 2.165 MB / 1.651 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.779, allocations: 1.514 MB / 1.652 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/1.779, allocations: 8 kB / 1.652 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00527/1.784, allocations: 3.285 MB / 1.655 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005286/1.789, allocations: 13.42 MB / 1.668 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.562e-05/1.79, allocations: 32 kB / 1.668 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.862e-05/1.79, allocations: 52 kB / 1.669 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.792, allocations: 0.6239 MB / 1.669 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.079e-05/1.792, allocations: 71.72 kB / 1.669 GB, free: 8.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.795, allocations: 366.7 kB / 1.67 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.795, allocations: 112 kB / 1.67 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.795, allocations: 8 kB / 1.67 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004328/1.799, allocations: 2.73 MB / 1.672 GB, free: 5.754 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.272e-05/1.799, allocations: 35.98 kB / 1.672 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.452e-05/1.799, allocations: 52 kB / 1.672 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.801, allocations: 0.5498 MB / 1.673 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.418e-05/1.801, allocations: 75.67 kB / 1.673 GB, free: 5.043 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.803, allocations: 251.4 kB / 1.673 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/1.803, allocations: 112 kB / 1.673 GB, free: 4.688 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.00335/1.807, allocations: 1.702 MB / 1.675 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.807, allocations: 154.1 kB / 1.675 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/1.811, allocations: 1.895 MB / 1.677 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.811, allocations: 11.94 kB / 1.677 GB, free: 0.9023 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.811, allocations: 4.094 kB / 1.677 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.811, allocations: 11.97 kB / 1.677 GB, free: 0.8867 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.827, allocations: 8.754 MB / 1.686 GB, free: 7.922 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.827, allocations: 8 kB / 1.686 GB, free: 7.914 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.828, allocations: 335.3 kB / 1.686 GB, free: 7.586 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.478e-05/1.828, allocations: 16 kB / 1.686 GB, free: 7.57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.828, allocations: 28 kB / 1.686 GB, free: 7.543 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/1.828, allocations: 20.3 kB / 1.686 GB, free: 7.523 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/1.828, allocations: 16 kB / 1.686 GB, free: 7.508 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/1.832, allocations: 2.898 MB / 1.689 GB, free: 4.223 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.833, allocations: 462.8 kB / 1.689 GB, free: 3.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/1.834, allocations: 24 kB / 1.689 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.835, allocations: 167.7 kB / 1.689 GB, free: 3.562 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.835, allocations: 92.2 kB / 1.69 GB, free: 3.469 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/1.835, allocations: 32 kB / 1.69 GB, free: 3.438 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002319/1.838, allocations: 1.089 MB / 1.691 GB, free: 2.352 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.5e-07/1.838, allocations: 0 / 1.691 GB, free: 2.352 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006005/1.844, allocations: 1.227 MB / 1.692 GB, free: 1.125 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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 Backend phase and start with SimCode phase: time 0.005419/1.849, allocations: 5.917 MB / 1.698 GB, free: 10.93 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006423/1.856, allocations: 3.786 MB / 1.701 GB, free: 7.164 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.856, allocations: 4 kB / 1.701 GB, free: 7.16 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.857, allocations: 0.8822 MB / 1.702 GB, free: 6.281 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.859, allocations: 382.5 kB / 1.703 GB, free: 5.914 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04777/1.907, allocations: 39.42 MB / 1.741 GB, free: 13.36 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005149/1.912, allocations: 2.927 MB / 1.744 GB, free: 10.4 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.003474/1.916, allocations: 1.204 MB / 1.745 GB, free: 9.188 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002198/1.918, allocations: 1.292 MB / 1.746 GB, free: 7.895 MB / 1.073 GB Notification: Performance of SimCode: time 1.333e-06/1.918, allocations: 0 / 1.746 GB, free: 7.895 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08874/2.007, allocations: 45.18 MB / 1.79 GB, free: 11.13 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.007, allocations: 194.4 kB / 1.791 GB, free: 10.9 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.849, allocations: 0 / 1.791 GB, free: 10.9 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat