Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.323/2.323, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001025/0.001025, allocations: 184.8 kB / 496.1 MB, free: 12.91 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.571/1.571, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0009062/0.0009063, allocations: 91.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.236e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2784, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.366, allocations: 208.7 MB / 1.423 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.366, allocations: 97.92 kB / 1.423 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4284/1.794, allocations: 120.6 MB / 1.541 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.144e-06/1.794, allocations: 0 / 1.541 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001807/1.795, allocations: 75.98 kB / 1.541 GB, free: 7.789 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007324/1.802, allocations: 2.676 MB / 1.543 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.802, allocations: 8.031 kB / 1.543 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001072/1.803, allocations: 454.4 kB / 1.544 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/1.807, allocations: 0.6636 MB / 1.544 GB, free: 3.922 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/1.812, allocations: 2.075 MB / 1.546 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.812, allocations: 222 kB / 1.547 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005601/1.813, allocations: 295.9 kB / 1.547 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008025/1.821, allocations: 4.556 MB / 1.551 GB, free: 12.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/1.821, allocations: 7.938 kB / 1.551 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/1.821, allocations: 132 kB / 1.551 GB, free: 12.33 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/1.821, allocations: 173.8 kB / 1.552 GB, free: 12.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/1.828, allocations: 3.353 MB / 1.555 GB, free: 8.797 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/1.853, allocations: 21.59 MB / 1.576 GB, free: 1.215 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.854, allocations: 1.278 MB / 1.577 GB, free: 15.92 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/1.856, allocations: 1.026 MB / 1.578 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/1.856, allocations: 9 kB / 1.578 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.856, allocations: 47.55 kB / 1.578 GB, free: 14.83 MB / 1.042 GB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/1.856, allocations: 0 / 1.578 GB, free: 14.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=138): time 0.01865/1.875, allocations: 6.66 MB / 1.585 GB, free: 8.168 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/1.875, allocations: 64.72 kB / 1.585 GB, free: 8.094 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.876, allocations: 0.9499 MB / 1.586 GB, free: 7.137 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/1.876, allocations: 45.7 kB / 1.586 GB, free: 7.086 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009556/1.877, allocations: 1.304 MB / 1.587 GB, free: 5.766 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/1.878, allocations: 489 kB / 1.588 GB, free: 5.281 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/1.878, allocations: 32 kB / 1.588 GB, free: 5.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.878, allocations: 369.9 kB / 1.588 GB, free: 4.883 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.879, allocations: 0.859 MB / 1.589 GB, free: 4.023 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/1.881, allocations: 1.327 MB / 1.59 GB, free: 2.496 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.883, allocations: 1.098 MB / 1.591 GB, free: 1.402 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.883, allocations: 4 kB / 1.591 GB, free: 1.398 MB / 1.042 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006019/1.889, allocations: 3.378 MB / 1.594 GB, free: 14 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/1.889, allocations: 15.98 kB / 1.594 GB, free: 13.98 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/1.889, allocations: 12 kB / 1.594 GB, free: 13.97 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/1.892, allocations: 1.132 MB / 1.596 GB, free: 12.84 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.893, allocations: 271.5 kB / 1.596 GB, free: 12.57 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/1.909, allocations: 12.44 MB / 1.608 GB, free: 15.72 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.911, allocations: 95.97 kB / 1.608 GB, free: 15.62 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/1.911, allocations: 67.95 kB / 1.608 GB, free: 15.56 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003168/1.911, allocations: 204.5 kB / 1.608 GB, free: 15.35 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.912, allocations: 154.1 kB / 1.608 GB, free: 15.2 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/1.918, allocations: 3.091 MB / 1.611 GB, free: 12.09 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/1.918, allocations: 16 kB / 1.611 GB, free: 12.07 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.918, allocations: 12 kB / 1.611 GB, free: 12.06 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.918, allocations: 3.984 kB / 1.611 GB, free: 12.05 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.93, allocations: 6.097 MB / 1.617 GB, free: 5.82 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.93, allocations: 4 kB / 1.617 GB, free: 5.816 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/1.931, allocations: 155.7 kB / 1.618 GB, free: 5.664 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/1.933, allocations: 1.024 MB / 1.619 GB, free: 4.633 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.934, allocations: 28.31 kB / 1.619 GB, free: 4.605 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/1.949, allocations: 12.14 MB / 1.63 GB, free: 8.07 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.949, allocations: 15.94 kB / 1.63 GB, free: 8.055 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/1.955, allocations: 3.303 MB / 1.634 GB, free: 4.516 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.956, allocations: 427 kB / 1.634 GB, free: 4.078 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.956, allocations: 24 kB / 1.634 GB, free: 4.055 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/1.957, allocations: 79.91 kB / 1.634 GB, free: 3.977 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/1.958, allocations: 128.7 kB / 1.634 GB, free: 3.852 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/1.958, allocations: 36 kB / 1.634 GB, free: 3.816 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001095/1.959, allocations: 0.7339 MB / 1.635 GB, free: 3.078 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-07/1.959, allocations: 0 / 1.635 GB, free: 3.078 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.002451/1.961, allocations: 0.668 MB / 1.636 GB, free: 2.41 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005954/1.967, allocations: 5.098 MB / 1.641 GB, free: 13.16 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.005359/1.973, allocations: 3.018 MB / 1.644 GB, free: 10.1 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.973, allocations: 4 kB / 1.644 GB, free: 10.09 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/1.976, allocations: 1.896 MB / 1.646 GB, free: 8.156 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.978, allocations: 436 kB / 1.646 GB, free: 7.734 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.989, allocations: 5.097 MB / 1.651 GB, free: 2.523 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.992, allocations: 2.387 MB / 1.653 GB, free: 104 kB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001326/1.993, allocations: 342 kB / 1.654 GB, free: 15.76 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.994, allocations: 0.9952 MB / 1.655 GB, free: 14.77 MB / 1.12 GB Notification: Performance of SimCode: time 1.042e-06/1.994, allocations: 0 / 1.655 GB, free: 14.77 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7466/2.741, allocations: 48.73 MB / 1.702 GB, free: 324.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/2.741, allocations: 208.6 kB / 1.702 GB, free: 324.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/6.004, allocations: 1.406 kB / 1.702 GB, free: 324.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat does not exist to compare? outputFormat=mat