Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008617/0.0008615, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003277, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7818, allocations: 142.3 MB / 0.9539 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.00553/0.7874, allocations: 4.587 MB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.7919, allocations: 3.492 MB / 0.9617 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.7923, allocations: 9.562 kB / 0.9618 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.7931, allocations: 209.9 kB / 0.962 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009752/0.794, allocations: 369.3 kB / 0.9623 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.7946, allocations: 189.2 kB / 0.9625 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009998/0.7956, allocations: 0.7626 MB / 0.9632 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.7967, allocations: 0.7425 MB / 0.964 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.7969, allocations: 194 kB / 0.9641 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.7973, allocations: 268.7 kB / 0.9644 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.7973, allocations: 19.91 kB / 0.9644 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000708/0.798, allocations: 323 kB / 0.9647 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.7982, allocations: 142.4 kB / 0.9649 GB, free: 52 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.7983, allocations: 111 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/0.7993, allocations: 0.7609 MB / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.7993, allocations: 0 / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7993, allocations: 1 kB / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.7994, allocations: 0 / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001408/0.8008, allocations: 0.7624 MB / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8008, allocations: 8.5 kB / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.8009, allocations: 73.28 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.8038, allocations: 0.7144 MB / 0.9672 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.805, allocations: 0.5377 MB / 0.9678 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.805, allocations: 20.97 kB / 0.9678 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.655e-05/0.8051, allocations: 32.02 kB / 0.9678 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.8069, allocations: 0.8423 MB / 0.9686 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.8069, allocations: 4.938 kB / 0.9686 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.807, allocations: 11.25 kB / 0.9686 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/0.8072, allocations: 70.84 kB / 0.9687 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.8092, allocations: 0.9377 MB / 0.9696 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/0.8135, allocations: 2.949 MB / 0.9725 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.8151, allocations: 0.5724 MB / 0.9731 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/0.8158, allocations: 316.2 kB / 0.9734 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.816, allocations: 91.41 kB / 0.9735 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.816, allocations: 39.91 kB / 0.9735 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.816, allocations: 0 / 0.9735 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.01344/0.8294, allocations: 4.076 MB / 0.9775 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.8296, allocations: 81.11 kB / 0.9776 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006966/0.8303, allocations: 457.6 kB / 0.978 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.8304, allocations: 29.7 kB / 0.978 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.8307, allocations: 244.1 kB / 0.9782 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.8308, allocations: 126.1 kB / 0.9784 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.8309, allocations: 8 kB / 0.9784 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.8312, allocations: 350.8 kB / 0.9787 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.8321, allocations: 444.4 kB / 0.9791 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.8331, allocations: 0.5251 MB / 0.9796 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.834, allocations: 489.3 kB / 0.9801 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8341, allocations: 0 / 0.9801 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005723/0.8398, allocations: 1.92 MB / 0.982 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.8399, allocations: 153.1 kB / 0.9821 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.84, allocations: 4 kB / 0.9821 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004399/0.8444, allocations: 1.09 MB / 0.9832 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.845, allocations: 131.8 kB / 0.9833 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.8554, allocations: 6.388 MB / 0.9896 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/0.8563, allocations: 123.9 kB / 0.9897 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.8564, allocations: 15.98 kB / 0.9897 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.8564, allocations: 4 kB / 0.9897 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004649/0.8611, allocations: 1.64 MB / 0.9913 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8611, allocations: 0 / 0.9913 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.8643, allocations: 0.8057 MB / 0.9921 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.865, allocations: 135.8 kB / 0.9922 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/0.8731, allocations: 5.561 MB / 0.9977 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/0.8741, allocations: 111.9 kB / 0.9978 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.8741, allocations: 23.94 kB / 0.9978 GB, free: 2.133 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000589/0.8747, allocations: 336.9 kB / 0.9981 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.8749, allocations: 39.53 kB / 0.9981 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/0.8803, allocations: 1.84 MB / 0.9999 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.8804, allocations: 4 kB / 0.9999 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8804, allocations: 0 / 0.9999 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8804, allocations: 4 kB / 0.9999 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.8869, allocations: 2.562 MB / 1.002 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.887, allocations: 3.984 kB / 1.002 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.8874, allocations: 84 kB / 1.003 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00412/0.8915, allocations: 1.02 MB / 1.004 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.8916, allocations: 11.94 kB / 1.004 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.901, allocations: 6.063 MB / 1.009 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.901, allocations: 4.031 kB / 1.009 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/0.9061, allocations: 1.79 MB / 1.011 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.9065, allocations: 200.5 kB / 1.011 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.9066, allocations: 12.03 kB / 1.011 GB, free: 3.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.9072, allocations: 95.8 kB / 1.012 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.9074, allocations: 35.89 kB / 1.012 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.9075, allocations: 19.98 kB / 1.012 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004901/0.908, allocations: 335.1 kB / 1.012 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.908, allocations: 0 / 1.012 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001231/0.9092, allocations: 284 kB / 1.012 GB, free: 2.996 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.005682/0.9149, allocations: 2.399 MB / 1.014 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006107/0.921, allocations: 2.544 MB / 1.017 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9211, allocations: 0 / 1.017 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.9235, allocations: 0.9772 MB / 1.018 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.9243, allocations: 130.9 kB / 1.018 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9348, allocations: 5.101 MB / 1.023 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.9354, allocations: 0.9531 MB / 1.024 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005768/0.9359, allocations: 151.4 kB / 1.024 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.9362, allocations: 151.4 kB / 1.024 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.9362, allocations: 3.938 kB / 1.024 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.9768, allocations: 20.99 MB / 1.045 GB, free: 1.707 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003983/0.9773, allocations: 256.7 kB / 1.045 GB, free: 1.363 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/3.154, allocations: 2.344 kB / 1.045 GB, free: 1.363 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat does not exist to compare? outputFormat=mat