Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.544/2.544, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001136/0.001136, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.624/1.624, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009454/0.0009453, allocations: 91.94 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.379e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3057, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.341, allocations: 219.4 MB / 1.433 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/1.341, allocations: 102.7 kB / 1.433 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3075/1.649, allocations: 123.6 MB / 1.554 GB, free: 10.27 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.304e-06/1.649, allocations: 0 / 1.554 GB, free: 10.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001061/1.649, allocations: 39.98 kB / 1.554 GB, free: 10.23 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003512/1.652, allocations: 1.606 MB / 1.556 GB, free: 8.574 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.652, allocations: 12.03 kB / 1.556 GB, free: 8.562 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/1.653, allocations: 190.2 kB / 1.556 GB, free: 8.367 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/1.664, allocations: 1.882 MB / 1.558 GB, free: 6.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/1.668, allocations: 1.216 MB / 1.559 GB, free: 5.207 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.668, allocations: 86.36 kB / 1.559 GB, free: 5.121 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/1.668, allocations: 123.9 kB / 1.559 GB, free: 5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/1.672, allocations: 2.234 MB / 1.561 GB, free: 2.578 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/1.672, allocations: 19.89 kB / 1.561 GB, free: 2.559 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/1.672, allocations: 55.98 kB / 1.561 GB, free: 2.504 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/1.673, allocations: 78.3 kB / 1.561 GB, free: 2.426 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/1.676, allocations: 1.863 MB / 1.563 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/1.692, allocations: 10.71 MB / 1.574 GB, free: 5.258 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/1.695, allocations: 1.698 MB / 1.575 GB, free: 3.5 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.696, allocations: 0.9089 MB / 1.576 GB, free: 2.586 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/1.696, allocations: 16.77 kB / 1.576 GB, free: 2.566 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/1.696, allocations: 43.34 kB / 1.576 GB, free: 2.516 MB / 1.026 GB Notification: Performance of pre-optimization done (n=89): time 3.407e-06/1.696, allocations: 4 kB / 1.576 GB, free: 2.512 MB / 1.026 GB Notification: Performance of matching and sorting (n=131): time 0.03528/1.732, allocations: 9.951 MB / 1.586 GB, free: 8.508 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/1.732, allocations: 222.9 kB / 1.586 GB, free: 8.242 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.734, allocations: 0.9638 MB / 1.587 GB, free: 7.266 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/1.734, allocations: 53.7 kB / 1.587 GB, free: 7.207 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/1.735, allocations: 0.7003 MB / 1.588 GB, free: 6.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/1.735, allocations: 449.4 kB / 1.588 GB, free: 6.055 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/1.735, allocations: 32 kB / 1.588 GB, free: 6.023 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.735, allocations: 353.9 kB / 1.589 GB, free: 5.672 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.737, allocations: 0.9592 MB / 1.59 GB, free: 4.711 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/1.739, allocations: 1.221 MB / 1.591 GB, free: 3.391 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.74, allocations: 1.055 MB / 1.592 GB, free: 2.336 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.74, allocations: 7.953 kB / 1.592 GB, free: 2.328 MB / 1.042 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008908/1.749, allocations: 3.729 MB / 1.595 GB, free: 14.55 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.749, allocations: 8.75 kB / 1.595 GB, free: 14.54 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/1.749, allocations: 8 kB / 1.595 GB, free: 14.53 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/1.756, allocations: 1.611 MB / 1.597 GB, free: 12.88 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.758, allocations: 447.3 kB / 1.597 GB, free: 12.44 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/1.787, allocations: 24.77 MB / 1.622 GB, free: 1.93 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/1.791, allocations: 319.5 kB / 1.622 GB, free: 1.617 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/1.791, allocations: 59.97 kB / 1.622 GB, free: 1.559 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000441/1.791, allocations: 186 kB / 1.622 GB, free: 1.371 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/1.792, allocations: 162.1 kB / 1.622 GB, free: 1.211 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/1.801, allocations: 3.767 MB / 1.626 GB, free: 13.39 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.802, allocations: 16 kB / 1.626 GB, free: 13.38 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.1e-05/1.802, allocations: 12 kB / 1.626 GB, free: 13.37 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.802, allocations: 11.97 kB / 1.626 GB, free: 13.36 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.816, allocations: 6.208 MB / 1.632 GB, free: 6.977 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.816, allocations: 4 kB / 1.632 GB, free: 6.973 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.818, allocations: 391.6 kB / 1.632 GB, free: 6.59 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006368/1.824, allocations: 1.494 MB / 1.634 GB, free: 5.055 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/1.825, allocations: 39.97 kB / 1.634 GB, free: 5.016 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/1.851, allocations: 23.81 MB / 1.657 GB, free: 11.48 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.851, allocations: 8.031 kB / 1.657 GB, free: 11.47 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/1.859, allocations: 3.701 MB / 1.661 GB, free: 7.582 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.862, allocations: 474.9 kB / 1.661 GB, free: 7.098 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.862, allocations: 24 kB / 1.661 GB, free: 7.074 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/1.864, allocations: 328 kB / 1.662 GB, free: 6.754 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006089/1.865, allocations: 124.7 kB / 1.662 GB, free: 6.629 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/1.865, allocations: 51.97 kB / 1.662 GB, free: 6.578 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001242/1.866, allocations: 0.7352 MB / 1.662 GB, free: 5.84 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.51e-07/1.866, allocations: 3.938 kB / 1.662 GB, free: 5.836 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002546/1.869, allocations: 0.6055 MB / 1.663 GB, free: 5.23 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008933/1.878, allocations: 5.039 MB / 1.668 GB, free: 52 kB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.007808/1.886, allocations: 4.333 MB / 1.672 GB, free: 11.55 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.886, allocations: 0 / 1.672 GB, free: 11.55 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.005624/1.891, allocations: 3.116 MB / 1.675 GB, free: 8.262 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.894, allocations: 0.4906 MB / 1.676 GB, free: 7.773 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/1.902, allocations: 3.256 MB / 1.679 GB, free: 4.434 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.904, allocations: 1.509 MB / 1.68 GB, free: 2.895 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002007/1.906, allocations: 425.4 kB / 1.681 GB, free: 2.473 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009848/1.907, allocations: 0.6242 MB / 1.681 GB, free: 1.848 MB / 1.135 GB Notification: Performance of SimCode: time 1.753e-06/1.907, allocations: 0 / 1.681 GB, free: 1.848 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8059/2.713, allocations: 51.11 MB / 1.731 GB, free: 333.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/2.713, allocations: 202.1 kB / 1.732 GB, free: 333.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/6.357, allocations: 0 / 1.732 GB, free: 333.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat