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.365/2.365, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001451/0.001451, allocations: 187.9 kB / 0.4901 GB, free: 2.219 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.646/1.646, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001027/0.001027, allocations: 96.31 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 11.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.289, allocations: 208.7 MB / 1.433 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.29, allocations: 97.95 kB / 1.433 GB, free: 90.95 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2765/1.566, allocations: 121.1 MB / 1.551 GB, free: 56.14 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.324e-06/1.566, allocations: 4 kB / 1.551 GB, free: 56.14 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002547/1.567, allocations: 77.05 kB / 1.552 GB, free: 56.12 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009936/1.576, allocations: 2.893 MB / 1.554 GB, free: 54.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.577, allocations: 11.62 kB / 1.554 GB, free: 54.42 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002319/1.579, allocations: 458.8 kB / 1.555 GB, free: 54.28 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004965/1.584, allocations: 0.666 MB / 1.555 GB, free: 53.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/1.591, allocations: 2.068 MB / 1.558 GB, free: 53.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/1.591, allocations: 219.1 kB / 1.558 GB, free: 53.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/1.593, allocations: 297.8 kB / 1.558 GB, free: 53.08 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/1.603, allocations: 4.609 MB / 1.563 GB, free: 51.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.398e-05/1.603, allocations: 11.72 kB / 1.563 GB, free: 51.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/1.604, allocations: 138.8 kB / 1.563 GB, free: 51.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/1.604, allocations: 168.6 kB / 1.563 GB, free: 51.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/1.609, allocations: 3.411 MB / 1.566 GB, free: 50.96 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/1.628, allocations: 21.59 MB / 1.587 GB, free: 33.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/1.63, allocations: 1.288 MB / 1.588 GB, free: 32.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/1.63, allocations: 20.98 kB / 1.589 GB, free: 32.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.63, allocations: 41.88 kB / 1.589 GB, free: 32.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/1.63, allocations: 0 / 1.589 GB, free: 32.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138): time 0.02257/1.652, allocations: 8.586 MB / 1.597 GB, free: 24.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.652, allocations: 72.66 kB / 1.597 GB, free: 24.56 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.654, allocations: 0.9674 MB / 1.598 GB, free: 23.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/1.654, allocations: 49.7 kB / 1.598 GB, free: 23.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/1.654, allocations: 1.3 MB / 1.599 GB, free: 22.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/1.655, allocations: 485.1 kB / 1.6 GB, free: 21.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.93e-05/1.655, allocations: 36 kB / 1.6 GB, free: 21.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/1.655, allocations: 365.9 kB / 1.6 GB, free: 21.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/1.656, allocations: 0.8784 MB / 1.601 GB, free: 20.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.657, allocations: 1.335 MB / 1.602 GB, free: 18.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.658, allocations: 1.111 MB / 1.603 GB, free: 17.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.658, allocations: 4 kB / 1.603 GB, free: 17.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004966/1.663, allocations: 3.402 MB / 1.607 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.663, allocations: 12 kB / 1.607 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.663, allocations: 16.16 kB / 1.607 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002686/1.666, allocations: 1.149 MB / 1.608 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/1.667, allocations: 267.5 kB / 1.608 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.68, allocations: 12.97 MB / 1.621 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/1.681, allocations: 83.98 kB / 1.621 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.682, allocations: 64 kB / 1.621 GB, free: 15.43 MB / 0.9323 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 () * Number of clocked 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.002604/1.684, allocations: 1.123 MB / 1.622 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/1.685, allocations: 158.1 kB / 1.622 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/1.69, allocations: 3.122 MB / 1.625 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.69, allocations: 12 kB / 1.625 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.69, allocations: 16 kB / 1.625 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.69, allocations: 11.97 kB / 1.625 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.702, allocations: 6.116 MB / 1.631 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.702, allocations: 8.938 kB / 1.631 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/1.703, allocations: 155.7 kB / 1.631 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/1.705, allocations: 1.021 MB / 1.632 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/1.705, allocations: 32 kB / 1.632 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.721, allocations: 12.66 MB / 1.645 GB, free: 6.438 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.721, allocations: 11.89 kB / 1.645 GB, free: 6.426 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/1.726, allocations: 3.326 MB / 1.648 GB, free: 2.863 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.728, allocations: 423.1 kB / 1.648 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.728, allocations: 24 kB / 1.648 GB, free: 2.406 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/1.729, allocations: 84.22 kB / 1.649 GB, free: 2.324 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/1.729, allocations: 128.7 kB / 1.649 GB, free: 2.199 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/1.729, allocations: 40 kB / 1.649 GB, free: 2.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001145/1.731, allocations: 0.7436 MB / 1.649 GB, free: 1.414 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.731, allocations: 0 / 1.649 GB, free: 1.414 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002438/1.733, allocations: 0.6719 MB / 1.65 GB, free: 0.7422 MB / 0.948 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 (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.005675/1.739, allocations: 5.127 MB / 1.655 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004811/1.744, allocations: 3.064 MB / 1.658 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.744, allocations: 5.188 kB / 1.658 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.747, allocations: 1.932 MB / 1.66 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.749, allocations: 418.4 kB / 1.66 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.779, allocations: 24.57 MB / 1.684 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/1.782, allocations: 2.394 MB / 1.687 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0015/1.783, allocations: 349.9 kB / 1.687 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.784, allocations: 0.9991 MB / 1.688 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of SimCode: time 1.193e-06/1.784, allocations: 0 / 1.688 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09166/1.876, allocations: 48.37 MB / 1.735 GB, free: 9.199 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.876, allocations: 221.2 kB / 1.735 GB, free: 8.961 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/5.307, allocations: 0 / 1.735 GB, free: 8.961 MB / 1.042 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