Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.266/2.266, allocations: 390.5 MB / 398 MB, free: 10.96 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.001504/0.001504, allocations: 183.8 kB / 491.2 MB, free: 1.57 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.577/1.577, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001017/0.001017, allocations: 91.84 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.114e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.541, allocations: 175.3 MB / 1.384 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/1.541, allocations: 97.53 kB / 1.384 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/1.668, allocations: 55.32 MB / 1.438 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.903e-06/1.668, allocations: 0 / 1.438 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.195e-05/1.668, allocations: 23.98 kB / 1.438 GB, free: 9.797 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001861/1.67, allocations: 0.9834 MB / 1.439 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/1.67, allocations: 12.03 kB / 1.439 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/1.671, allocations: 234.7 kB / 1.439 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/1.672, allocations: 0.5486 MB / 1.439 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.672, allocations: 20 kB / 1.439 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.673, allocations: 40 kB / 1.439 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/1.674, allocations: 0.5968 MB / 1.44 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.675, allocations: 1.015 MB / 1.441 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/1.675, allocations: 7.938 kB / 1.441 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/1.675, allocations: 7.953 kB / 1.441 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.675, allocations: 56.72 kB / 1.441 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006978/1.682, allocations: 5.76 MB / 1.447 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.684, allocations: 0.5275 MB / 1.447 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/1.684, allocations: 312.6 kB / 1.448 GB, free: 432 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/1.684, allocations: 4.438 kB / 1.448 GB, free: 428 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.684, allocations: 34.94 kB / 1.448 GB, free: 388 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 4.739e-06/1.684, allocations: 8 kB / 1.448 GB, free: 380 kB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.002649/1.687, allocations: 1.16 MB / 1.449 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.687, allocations: 59.84 kB / 1.449 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/1.688, allocations: 400.7 kB / 1.449 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/1.688, allocations: 29.7 kB / 1.449 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/1.688, allocations: 410.7 kB / 1.45 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/1.688, allocations: 164.8 kB / 1.45 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/1.688, allocations: 0 / 1.45 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002694/1.689, allocations: 371.8 kB / 1.45 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/1.689, allocations: 246.8 kB / 1.45 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/1.69, allocations: 442.2 kB / 1.451 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/1.69, allocations: 314.1 kB / 1.451 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.69, allocations: 8 kB / 1.451 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001836/1.692, allocations: 0.959 MB / 1.452 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/1.692, allocations: 9.719 kB / 1.452 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.692, allocations: 8.75 kB / 1.452 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008653/1.693, allocations: 265.8 kB / 1.452 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/1.693, allocations: 115.8 kB / 1.452 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/1.699, allocations: 6.33 MB / 1.459 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/1.7, allocations: 19.97 kB / 1.459 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/1.7, allocations: 35.09 kB / 1.459 GB, free: 6.141 MB / 0.8698 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/1.7, allocations: 127.4 kB / 1.459 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001341/1.702, allocations: 0.7734 MB / 1.46 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.702, allocations: 75.2 kB / 1.46 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.703, allocations: 0.8346 MB / 1.46 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.703, allocations: 8 kB / 1.46 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.703, allocations: 0 / 1.46 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.703, allocations: 4 kB / 1.46 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/1.706, allocations: 1.564 MB / 1.462 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.706, allocations: 0 / 1.462 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/1.706, allocations: 59.52 kB / 1.462 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/1.707, allocations: 263.1 kB / 1.462 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.707, allocations: 4 kB / 1.462 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/1.713, allocations: 6.305 MB / 1.468 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.713, allocations: 0 / 1.468 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/1.715, allocations: 1.006 MB / 1.469 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.715, allocations: 182.7 kB / 1.47 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/1.715, allocations: 0 / 1.47 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/1.716, allocations: 28.08 kB / 1.47 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.716, allocations: 43.41 kB / 1.47 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.716, allocations: 23.75 kB / 1.47 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005538/1.716, allocations: 302.3 kB / 1.47 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.716, allocations: 0 / 1.47 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001228/1.718, allocations: 204 kB / 1.47 GB, free: 11.43 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002357/1.72, allocations: 1.967 MB / 1.472 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.722, allocations: 1.164 MB / 1.473 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.722, allocations: 4 kB / 1.473 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.724, allocations: 0.8465 MB / 1.474 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/1.725, allocations: 168.6 kB / 1.474 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/1.727, allocations: 1.104 MB / 1.475 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/1.728, allocations: 1.032 MB / 1.476 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004542/1.728, allocations: 117.4 kB / 1.476 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.729, allocations: 249.8 kB / 1.477 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/1.729, allocations: 0 / 1.477 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/1.779, allocations: 14.6 MB / 1.491 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.779, allocations: 162.1 kB / 1.491 GB, free: 6.801 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/4.217, allocations: 0 / 1.491 GB, free: 6.801 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat