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.456/2.456, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001328/0.001329, allocations: 180.8 kB / 496.1 MB, free: 12.85 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.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009666/0.0009667, allocations: 83.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/4.982e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3255, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.476, allocations: 200.3 MB / 1.414 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/1.477, allocations: 95.22 kB / 1.415 GB, free: 4.34 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1061/1.583, allocations: 43.88 MB / 1.457 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/1.583, allocations: 0 / 1.457 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.681e-05/1.583, allocations: 16 kB / 1.457 GB, free: 14.02 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.001408/1.585, allocations: 0.8144 MB / 1.458 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.585, allocations: 12.03 kB / 1.458 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/1.585, allocations: 98.5 kB / 1.458 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.586, allocations: 198.8 kB / 1.458 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.587, allocations: 0.4974 MB / 1.459 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.587, allocations: 37 kB / 1.459 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.587, allocations: 55.98 kB / 1.459 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.589, allocations: 0.8522 MB / 1.46 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.589, allocations: 7.938 kB / 1.46 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/1.589, allocations: 24 kB / 1.46 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/1.589, allocations: 48.92 kB / 1.46 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/1.59, allocations: 0.5581 MB / 1.46 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/1.594, allocations: 4.604 MB / 1.465 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/1.595, allocations: 298.5 kB / 1.465 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/1.595, allocations: 224.8 kB / 1.465 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/1.595, allocations: 3.938 kB / 1.465 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/1.595, allocations: 34.56 kB / 1.466 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/1.595, allocations: 0 / 1.466 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.004666/1.6, allocations: 2.201 MB / 1.468 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.6, allocations: 59.36 kB / 1.468 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/1.6, allocations: 395.9 kB / 1.468 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/1.601, allocations: 33.7 kB / 1.468 GB, free: 2.301 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/1.601, allocations: 339.8 kB / 1.468 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.601, allocations: 141.9 kB / 1.469 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.601, allocations: 12 kB / 1.469 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.601, allocations: 362.8 kB / 1.469 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/1.601, allocations: 229 kB / 1.469 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/1.602, allocations: 380.5 kB / 1.47 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/1.602, allocations: 285.4 kB / 1.47 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.602, allocations: 4 kB / 1.47 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001627/1.604, allocations: 0.8824 MB / 1.471 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.604, allocations: 8 kB / 1.471 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.604, allocations: 4 kB / 1.471 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007627/1.605, allocations: 219 kB / 1.471 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/1.605, allocations: 111.8 kB / 1.471 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/1.61, allocations: 4.931 MB / 1.476 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/1.611, allocations: 31.92 kB / 1.476 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/1.611, allocations: 20 kB / 1.476 GB, free: 9.871 MB / 0.9323 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 () * 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.0001552/1.611, allocations: 141.7 kB / 1.476 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/1.611, allocations: 59.28 kB / 1.476 GB, free: 9.668 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/1.613, allocations: 0.7698 MB / 1.477 GB, free: 8.879 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.613, allocations: 4 kB / 1.477 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.613, allocations: 0 / 1.477 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.613, allocations: 7.922 kB / 1.477 GB, free: 8.867 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/1.615, allocations: 1.466 MB / 1.478 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.615, allocations: 4 kB / 1.478 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/1.615, allocations: 72.16 kB / 1.478 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006493/1.616, allocations: 206.4 kB / 1.479 GB, free: 7.027 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/1.616, allocations: 15.98 kB / 1.479 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/1.621, allocations: 4.855 MB / 1.483 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.621, allocations: 7.891 kB / 1.483 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.623, allocations: 1.183 MB / 1.484 GB, free: 488 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/1.623, allocations: 172.5 kB / 1.485 GB, free: 296 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/1.623, allocations: 12 kB / 1.485 GB, free: 284 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/1.623, allocations: 27.95 kB / 1.485 GB, free: 256 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/1.623, allocations: 39.86 kB / 1.485 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.623, allocations: 11.98 kB / 1.485 GB, free: 204 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003944/1.624, allocations: 317.5 kB / 1.485 GB, free: 15.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.624, allocations: 3.938 kB / 1.485 GB, free: 15.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007225/1.624, allocations: 172 kB / 1.485 GB, free: 15.72 MB / 0.948 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 () * 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.002414/1.627, allocations: 2.259 MB / 1.487 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.629, allocations: 0.9882 MB / 1.488 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.629, allocations: 0 / 1.488 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009474/1.63, allocations: 0.6679 MB / 1.489 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/1.63, allocations: 162.6 kB / 1.489 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.632, allocations: 1.119 MB / 1.49 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/1.633, allocations: 0.961 MB / 1.491 GB, free: 9.316 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003755/1.633, allocations: 112.9 kB / 1.491 GB, free: 9.203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/1.634, allocations: 215.4 kB / 1.491 GB, free: 8.992 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/1.634, allocations: 0 / 1.491 GB, free: 8.992 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/1.665, allocations: 13.25 MB / 1.504 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.665, allocations: 203.5 kB / 1.505 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.96, allocations: 0 / 1.505 GB, free: 11.83 MB / 0.9636 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