Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.258/2.258, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001082/0.001082, allocations: 186.5 kB / 0.4901 GB, free: 2.223 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.587/1.587, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009696/0.0009695, allocations: 101.2 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.5399, allocations: 183.3 MB / 1.408 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/0.5403, allocations: 95.94 kB / 1.408 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.133/1.674, allocations: 194.2 MB / 1.598 GB, free: 43.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.006e-06/1.674, allocations: 0 / 1.598 GB, free: 43.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003831/1.674, allocations: 124 kB / 1.598 GB, free: 43.78 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01613/1.69, allocations: 4.5 MB / 1.603 GB, free: 39.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.69, allocations: 8.031 kB / 1.603 GB, free: 39.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003723/1.694, allocations: 0.7177 MB / 1.603 GB, free: 38.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/1.701, allocations: 1.009 MB / 1.604 GB, free: 37.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/1.712, allocations: 3.225 MB / 1.607 GB, free: 34.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/1.713, allocations: 365.7 kB / 1.608 GB, free: 33.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/1.715, allocations: 476 kB / 1.608 GB, free: 33.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/1.737, allocations: 7.499 MB / 1.615 GB, free: 25.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002876/1.737, allocations: 27.67 kB / 1.616 GB, free: 25.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002207/1.74, allocations: 219.9 kB / 1.616 GB, free: 25.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003365/1.74, allocations: 265.2 kB / 1.616 GB, free: 24.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/1.753, allocations: 5.407 MB / 1.621 GB, free: 19.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/1.806, allocations: 36.26 MB / 1.657 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/1.81, allocations: 2.14 MB / 1.659 GB, free: 9.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/1.81, allocations: 17.31 kB / 1.659 GB, free: 9.805 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.81, allocations: 59.88 kB / 1.659 GB, free: 9.738 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 3.887e-06/1.811, allocations: 0 / 1.659 GB, free: 9.738 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.0169/1.827, allocations: 7.532 MB / 1.666 GB, free: 1.934 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.828, allocations: 68.72 kB / 1.666 GB, free: 1.852 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/1.831, allocations: 1.56 MB / 1.668 GB, free: 276 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.832, allocations: 57.7 kB / 1.668 GB, free: 212 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.834, allocations: 2.096 MB / 1.67 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.835, allocations: 0.5545 MB / 1.67 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.836, allocations: 47.94 kB / 1.67 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003785/1.836, allocations: 390.1 kB / 1.671 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/1.838, allocations: 1.015 MB / 1.672 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/1.841, allocations: 1.724 MB / 1.673 GB, free: 10 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/1.843, allocations: 1.302 MB / 1.675 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/1.843, allocations: 8 kB / 1.675 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.008628/1.852, allocations: 3.8 MB / 1.678 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/1.852, allocations: 19.98 kB / 1.679 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-05/1.852, allocations: 24 kB / 1.679 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/1.855, allocations: 0.9156 MB / 1.679 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.856, allocations: 411.3 kB / 1.68 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/1.878, allocations: 21.42 MB / 1.701 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.88, allocations: 119.9 kB / 1.701 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.881, allocations: 92 kB / 1.701 GB, free: 12.22 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004719/1.886, allocations: 1.648 MB / 1.703 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.887, allocations: 257 kB / 1.703 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007051/1.894, allocations: 3.252 MB / 1.706 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/1.894, allocations: 16 kB / 1.706 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-05/1.894, allocations: 12 kB / 1.706 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.894, allocations: 7.969 kB / 1.706 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.912, allocations: 7.506 MB / 1.713 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.912, allocations: 4 kB / 1.713 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.913, allocations: 228.1 kB / 1.714 GB, free: 15.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/1.915, allocations: 0.8687 MB / 1.714 GB, free: 14.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/1.915, allocations: 32 kB / 1.714 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/1.937, allocations: 21.37 MB / 1.735 GB, free: 7.172 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.937, allocations: 7.938 kB / 1.735 GB, free: 7.164 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006711/1.944, allocations: 3.703 MB / 1.739 GB, free: 3.223 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.946, allocations: 0.5295 MB / 1.739 GB, free: 2.672 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000831/1.947, allocations: 32 kB / 1.739 GB, free: 2.641 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.948, allocations: 103.9 kB / 1.74 GB, free: 2.539 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004926/1.949, allocations: 141 kB / 1.74 GB, free: 2.402 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.949, allocations: 40 kB / 1.74 GB, free: 2.363 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002468/1.951, allocations: 1.19 MB / 1.741 GB, free: 1.16 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.7e-07/1.951, allocations: 0 / 1.741 GB, free: 1.16 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004467/1.956, allocations: 0.9258 MB / 1.742 GB, free: 240 kB / 1.026 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006952/1.963, allocations: 5.433 MB / 1.747 GB, free: 10.61 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007058/1.97, allocations: 4.327 MB / 1.751 GB, free: 6.133 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.97, allocations: 11.91 kB / 1.751 GB, free: 6.121 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.975, allocations: 2.984 MB / 1.754 GB, free: 2.984 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/1.979, allocations: 0.7235 MB / 1.755 GB, free: 2.266 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05168/2.031, allocations: 37.35 MB / 1.791 GB, free: 11.22 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006878/2.038, allocations: 3.294 MB / 1.795 GB, free: 7.895 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.002747/2.041, allocations: 0.5211 MB / 1.795 GB, free: 7.367 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003436/2.044, allocations: 1.679 MB / 1.797 GB, free: 5.688 MB / 1.089 GB Notification: Performance of SimCode: time 1.753e-06/2.044, allocations: 0 / 1.797 GB, free: 5.688 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7229/2.767, allocations: 67.86 MB / 1.863 GB, free: 289 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/2.767, allocations: 224.3 kB / 1.863 GB, free: 288.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.921/6.688, allocations: 0 / 1.863 GB, free: 288.8 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat