Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.29/2.29, allocations: 390.5 MB / 398 MB, free: 10.98 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.001056/0.001056, allocations: 176.9 kB / 491.2 MB, free: 1.621 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.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001112/0.001112, allocations: 93.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.547e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3611, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.552, allocations: 176 MB / 1.384 GB, free: 16.81 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.552, allocations: 91.41 kB / 1.384 GB, free: 16.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1316/1.684, allocations: 55.66 MB / 1.439 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.266e-06/1.684, allocations: 0 / 1.439 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001421/1.684, allocations: 20 kB / 1.439 GB, free: 8.938 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002817/1.687, allocations: 0.8912 MB / 1.44 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/1.687, allocations: 8.031 kB / 1.44 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/1.689, allocations: 218.2 kB / 1.44 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.69, allocations: 0.5439 MB / 1.44 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/1.69, allocations: 20 kB / 1.44 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.691, allocations: 38.56 kB / 1.44 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001305/1.692, allocations: 0.545 MB / 1.441 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/1.694, allocations: 0.9923 MB / 1.442 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/1.694, allocations: 11.92 kB / 1.442 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/1.694, allocations: 4 kB / 1.442 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/1.694, allocations: 56.47 kB / 1.442 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/1.7, allocations: 5.64 MB / 1.447 GB, free: 372 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/1.701, allocations: 0.5852 MB / 1.448 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/1.702, allocations: 383.7 kB / 1.448 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/1.702, allocations: 4.688 kB / 1.448 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.702, allocations: 41.38 kB / 1.448 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 3.597e-06/1.702, allocations: 0 / 1.448 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.002815/1.705, allocations: 1.158 MB / 1.45 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.705, allocations: 59.39 kB / 1.45 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/1.705, allocations: 330.5 kB / 1.45 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/1.705, allocations: 29.7 kB / 1.45 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/1.706, allocations: 382.3 kB / 1.45 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.706, allocations: 145.1 kB / 1.451 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/1.706, allocations: 0 / 1.451 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.706, allocations: 359.3 kB / 1.451 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/1.706, allocations: 224.4 kB / 1.451 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/1.707, allocations: 406.9 kB / 1.451 GB, free: 13 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/1.707, allocations: 288.7 kB / 1.452 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.707, allocations: 8 kB / 1.452 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001883/1.709, allocations: 0.9258 MB / 1.453 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.709, allocations: 8 kB / 1.453 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.709, allocations: 11.95 kB / 1.453 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/1.71, allocations: 313.7 kB / 1.453 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/1.711, allocations: 91.06 kB / 1.453 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/1.718, allocations: 6.836 MB / 1.46 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.718, allocations: 19.95 kB / 1.46 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.718, allocations: 23.25 kB / 1.46 GB, free: 5.09 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/1.719, allocations: 121.3 kB / 1.46 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00157/1.72, allocations: 0.8081 MB / 1.461 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/1.72, allocations: 55.34 kB / 1.461 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.722, allocations: 0.8445 MB / 1.462 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.722, allocations: 8 kB / 1.462 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.722, allocations: 4 kB / 1.462 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.722, allocations: 0 / 1.462 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.725, allocations: 1.719 MB / 1.463 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.725, allocations: 0 / 1.463 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.725, allocations: 43.91 kB / 1.463 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/1.726, allocations: 267 kB / 1.464 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.726, allocations: 4 kB / 1.464 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/1.733, allocations: 6.555 MB / 1.47 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.733, allocations: 7.922 kB / 1.47 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.734, allocations: 0.9644 MB / 1.471 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/1.735, allocations: 167.6 kB / 1.471 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.735, allocations: 4 kB / 1.471 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.735, allocations: 15.97 kB / 1.471 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.736, allocations: 39.39 kB / 1.471 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.736, allocations: 15.83 kB / 1.471 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003346/1.736, allocations: 253.1 kB / 1.471 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.736, allocations: 0 / 1.471 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001048/1.737, allocations: 168 kB / 1.472 GB, free: 10.07 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/1.739, allocations: 1.939 MB / 1.473 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.741, allocations: 1.086 MB / 1.474 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.741, allocations: 0 / 1.474 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.742, allocations: 0.7796 MB / 1.475 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.743, allocations: 161.5 kB / 1.475 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/1.746, allocations: 1.015 MB / 1.476 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/1.747, allocations: 1.011 MB / 1.477 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000389/1.747, allocations: 96.89 kB / 1.477 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.747, allocations: 218.9 kB / 1.478 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of SimCode: time 1.784e-06/1.747, allocations: 4 kB / 1.478 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04604/1.793, allocations: 12.9 MB / 1.49 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/1.794, allocations: 162.1 kB / 1.49 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/4.147, allocations: 0 / 1.49 GB, free: 7.375 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat