Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.451/2.451, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001228/0.001228, allocations: 184 kB / 0.4901 GB, free: 2.277 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.69/1.69, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009809/0.0009808, allocations: 106.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 10.22 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.218, allocations: 222 MB / 1.446 GB, free: 91.21 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.218, allocations: 102.1 kB / 1.446 GB, free: 91.21 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2781/1.496, allocations: 125.3 MB / 1.569 GB, free: 51.03 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.743e-06/1.496, allocations: 0 / 1.569 GB, free: 51.03 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001932/1.497, allocations: 47.92 kB / 1.569 GB, free: 50.98 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005775/1.502, allocations: 1.892 MB / 1.57 GB, free: 49.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.503, allocations: 8.031 kB / 1.57 GB, free: 49.16 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007658/1.503, allocations: 200.4 kB / 1.571 GB, free: 49.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.514, allocations: 1.962 MB / 1.573 GB, free: 47.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/1.521, allocations: 2.093 MB / 1.575 GB, free: 45.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.521, allocations: 86.69 kB / 1.575 GB, free: 45.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/1.521, allocations: 112.7 kB / 1.575 GB, free: 45.17 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/1.528, allocations: 2.723 MB / 1.577 GB, free: 42.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/1.528, allocations: 19.61 kB / 1.577 GB, free: 42.88 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/1.529, allocations: 57.86 kB / 1.578 GB, free: 42.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/1.529, allocations: 86.09 kB / 1.578 GB, free: 42.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007268/1.536, allocations: 2.844 MB / 1.58 GB, free: 40.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/1.552, allocations: 10.73 MB / 1.591 GB, free: 30.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/1.559, allocations: 2.385 MB / 1.593 GB, free: 29.06 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.26e-05/1.559, allocations: 13 kB / 1.593 GB, free: 29.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.559, allocations: 51.25 kB / 1.593 GB, free: 29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/1.559, allocations: 0 / 1.593 GB, free: 29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.06122/1.62, allocations: 17.34 MB / 1.61 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/1.62, allocations: 222.9 kB / 1.61 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/1.622, allocations: 1.024 MB / 1.611 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003103/1.623, allocations: 53.7 kB / 1.611 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/1.623, allocations: 0.7322 MB / 1.612 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/1.624, allocations: 0.5159 MB / 1.613 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.624, allocations: 28 kB / 1.613 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.624, allocations: 361.9 kB / 1.613 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/1.627, allocations: 1.542 MB / 1.615 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/1.63, allocations: 1.823 MB / 1.616 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/1.634, allocations: 1.669 MB / 1.618 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.634, allocations: 4 kB / 1.618 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0138/1.647, allocations: 5.402 MB / 1.623 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/1.648, allocations: 4.75 kB / 1.623 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.648, allocations: 8 kB / 1.623 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009673/1.657, allocations: 2.142 MB / 1.625 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.66, allocations: 415.3 kB / 1.626 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/1.692, allocations: 23.31 MB / 1.648 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.695, allocations: 331.5 kB / 1.649 GB, free: 4.121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004728/1.696, allocations: 67.95 kB / 1.649 GB, free: 4.055 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001639/1.697, allocations: 461.5 kB / 1.649 GB, free: 3.594 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/1.698, allocations: 178 kB / 1.649 GB, free: 3.418 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/1.714, allocations: 5.472 MB / 1.655 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.714, allocations: 19.94 kB / 1.655 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-05/1.714, allocations: 20 kB / 1.655 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.714, allocations: 7.969 kB / 1.655 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/1.734, allocations: 7.68 MB / 1.662 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/1.734, allocations: 7.938 kB / 1.662 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.736, allocations: 367.7 kB / 1.663 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008623/1.745, allocations: 1.984 MB / 1.665 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.745, allocations: 43.95 kB / 1.665 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02931/1.774, allocations: 22.48 MB / 1.687 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.774, allocations: 4 kB / 1.687 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.788, allocations: 5.246 MB / 1.692 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.79, allocations: 0.5065 MB / 1.692 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006411/1.791, allocations: 32 kB / 1.692 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.793, allocations: 331.5 kB / 1.693 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/1.794, allocations: 149 kB / 1.693 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.794, allocations: 59.91 kB / 1.693 GB, free: 5.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001684/1.796, allocations: 0.7938 MB / 1.694 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.31e-07/1.796, allocations: 0 / 1.694 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003591/1.8, allocations: 0.7226 MB / 1.694 GB, free: 4.074 MB / 0.9948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01581/1.815, allocations: 6.617 MB / 1.701 GB, free: 13.32 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.827, allocations: 5.21 MB / 1.706 GB, free: 8.012 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.827, allocations: 4.125 kB / 1.706 GB, free: 8.008 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007929/1.835, allocations: 3.401 MB / 1.709 GB, free: 4.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/1.838, allocations: 0.5039 MB / 1.71 GB, free: 4.004 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/1.88, allocations: 20.29 MB / 1.729 GB, free: 15.01 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/1.882, allocations: 1.604 MB / 1.731 GB, free: 13.37 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.002294/1.885, allocations: 414.6 kB / 1.731 GB, free: 12.96 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.886, allocations: 0.6671 MB / 1.732 GB, free: 12.29 MB / 1.042 GB Notification: Performance of SimCode: time 1.022e-06/1.886, allocations: 0 / 1.732 GB, free: 12.29 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.987, allocations: 59.18 MB / 1.79 GB, free: 1.789 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.987, allocations: 233.6 kB / 1.79 GB, free: 1.547 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/5.777, allocations: 0 / 1.79 GB, free: 1.547 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat