Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.31/2.31, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001198/0.001198, allocations: 180 kB / 0.4901 GB, free: 2.266 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.000915/0.000915, allocations: 104.2 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 7.094 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.297, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.5888, allocations: 200.3 MB / 1.425 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5893, allocations: 99.94 kB / 1.425 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7794/1.369, allocations: 44.14 MB / 1.468 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.904e-06/1.369, allocations: 0 / 1.468 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.892e-05/1.369, allocations: 19.98 kB / 1.468 GB, free: 180.6 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001632/1.37, allocations: 0.8918 MB / 1.469 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.371, allocations: 8.562 kB / 1.469 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/1.371, allocations: 94.52 kB / 1.469 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.372, allocations: 202.8 kB / 1.469 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.373, allocations: 0.4974 MB / 1.47 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.374, allocations: 37 kB / 1.47 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.374, allocations: 63.91 kB / 1.47 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/1.375, allocations: 0.8594 MB / 1.471 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.375, allocations: 7.938 kB / 1.471 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/1.375, allocations: 24 kB / 1.471 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/1.375, allocations: 52.92 kB / 1.471 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/1.376, allocations: 0.5658 MB / 1.471 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/1.381, allocations: 4.6 MB / 1.476 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/1.382, allocations: 298.4 kB / 1.476 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/1.382, allocations: 4 kB / 1.476 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.382, allocations: 34.55 kB / 1.476 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.516e-06/1.382, allocations: 8 kB / 1.476 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.008462/1.39, allocations: 2.623 MB / 1.479 GB, free: 169 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.39, allocations: 55.41 kB / 1.479 GB, free: 169 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/1.391, allocations: 413.1 kB / 1.479 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/1.391, allocations: 37.64 kB / 1.479 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.391, allocations: 335.7 kB / 1.48 GB, free: 168.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.392, allocations: 146 kB / 1.48 GB, free: 168 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/1.392, allocations: 16 kB / 1.48 GB, free: 168 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.392, allocations: 362.8 kB / 1.48 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/1.392, allocations: 233 kB / 1.48 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/1.393, allocations: 384.4 kB / 1.481 GB, free: 167 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/1.394, allocations: 290.2 kB / 1.481 GB, free: 166.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.394, allocations: 4 kB / 1.481 GB, free: 166.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002681/1.396, allocations: 0.8902 MB / 1.482 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.396, allocations: 8 kB / 1.482 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.397, allocations: 4 kB / 1.482 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/1.398, allocations: 226.9 kB / 1.482 GB, free: 165.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/1.399, allocations: 107.8 kB / 1.482 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/1.405, allocations: 5.017 MB / 1.487 GB, free: 160 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/1.406, allocations: 31.97 kB / 1.487 GB, free: 160 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/1.406, allocations: 23.95 kB / 1.487 GB, free: 160 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004862/1.407, allocations: 226.5 kB / 1.487 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.407, allocations: 59.34 kB / 1.487 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/1.409, allocations: 0.7703 MB / 1.488 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.409, allocations: 4 kB / 1.488 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.409, allocations: 4 kB / 1.488 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.409, allocations: 0 / 1.488 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/1.413, allocations: 1.482 MB / 1.49 GB, free: 157.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.413, allocations: 4.219 kB / 1.49 GB, free: 157.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/1.414, allocations: 67.89 kB / 1.49 GB, free: 157.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/1.415, allocations: 210.6 kB / 1.49 GB, free: 157 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/1.415, allocations: 11.98 kB / 1.49 GB, free: 157 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0061/1.421, allocations: 4.938 MB / 1.495 GB, free: 151.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.421, allocations: 4.031 kB / 1.495 GB, free: 151.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.424, allocations: 1.207 MB / 1.496 GB, free: 150.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/1.424, allocations: 172.4 kB / 1.496 GB, free: 150.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.425, allocations: 12 kB / 1.496 GB, free: 150.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/1.425, allocations: 19.97 kB / 1.496 GB, free: 150.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.425, allocations: 39.91 kB / 1.496 GB, free: 150.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/1.425, allocations: 12 kB / 1.496 GB, free: 150.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005607/1.426, allocations: 322.8 kB / 1.496 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.81e-07/1.426, allocations: 4.062 kB / 1.496 GB, free: 149.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001232/1.427, allocations: 175.9 kB / 1.497 GB, free: 149.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003264/1.431, allocations: 2.267 MB / 1.499 GB, free: 147.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002428/1.433, allocations: 1.004 MB / 1.5 GB, free: 146.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.433, allocations: 0 / 1.5 GB, free: 146.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.434, allocations: 0.6721 MB / 1.5 GB, free: 145.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.436, allocations: 161.8 kB / 1.501 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/1.445, allocations: 6.857 MB / 1.507 GB, free: 138.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/1.445, allocations: 0.9571 MB / 1.508 GB, free: 137.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006714/1.446, allocations: 112.9 kB / 1.508 GB, free: 137.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/1.446, allocations: 211.4 kB / 1.508 GB, free: 137 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/1.446, allocations: 0 / 1.508 GB, free: 137 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/1.472, allocations: 13.32 MB / 1.521 GB, free: 124 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/1.472, allocations: 228.6 kB / 1.522 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.89, allocations: 0 / 1.522 GB, free: 123.8 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat