Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009667/0.0009666, allocations: 84.38 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.000928/0.0009281, 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.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.414 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.429/2.429, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003257, allocations: 12.2 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 142.3 MB / 0.9539 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01312/0.8153, allocations: 12.67 MB / 0.9662 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.8286, allocations: 8.738 MB / 0.9748 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.8302, allocations: 50.94 kB / 0.9748 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.8311, allocations: 269.5 kB / 0.9751 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.8357, allocations: 1.277 MB / 0.9763 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.8376, allocations: 0.5128 MB / 0.9768 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004223/0.8418, allocations: 2.688 MB / 0.9794 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.8452, allocations: 1.793 MB / 0.9812 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.8471, allocations: 0.8456 MB / 0.982 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.8488, allocations: 1.031 MB / 0.983 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.849, allocations: 72 kB / 0.9831 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.8503, allocations: 431.5 kB / 0.9835 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.8508, allocations: 0.514 MB / 0.984 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.8513, allocations: 344.8 kB / 0.9843 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.8534, allocations: 2.112 MB / 0.9864 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8534, allocations: 7.938 kB / 0.9864 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8534, allocations: 0 / 0.9864 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.8535, allocations: 0 / 0.9864 GB, free: 14.7 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003328/0.8568, allocations: 1.839 MB / 0.9882 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8569, allocations: 12.02 kB / 0.9882 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/0.8571, allocations: 198.2 kB / 0.9884 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.8671, allocations: 2.147 MB / 0.9905 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003439/0.8706, allocations: 1.146 MB / 0.9916 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/0.8708, allocations: 98.31 kB / 0.9917 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.8711, allocations: 119.9 kB / 0.9918 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.877, allocations: 2.69 MB / 0.9945 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.877, allocations: 11.92 kB / 0.9945 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.8772, allocations: 51.98 kB / 0.9945 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005374/0.8777, allocations: 178.1 kB / 0.9947 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006859/0.8846, allocations: 2.838 MB / 0.9975 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.8998, allocations: 10.56 MB / 1.008 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00625/0.9061, allocations: 2.576 MB / 1.01 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/0.9091, allocations: 1.296 MB / 1.012 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.876e-05/0.9092, allocations: 16.97 kB / 1.012 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9092, allocations: 51.55 kB / 1.012 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.9092, allocations: 4 kB / 1.012 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.04303/0.9523, allocations: 13.43 MB / 1.025 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.9524, allocations: 68.66 kB / 1.025 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.9546, allocations: 1.105 MB / 1.026 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.9549, allocations: 49.7 kB / 1.026 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000681/0.9556, allocations: 0.7156 MB / 1.027 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/0.9561, allocations: 453.4 kB / 1.027 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.9562, allocations: 32 kB / 1.027 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.9565, allocations: 353.9 kB / 1.027 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/0.9599, allocations: 1.35 MB / 1.029 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.9632, allocations: 1.628 MB / 1.03 GB, free: 404 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.9666, allocations: 1.45 MB / 1.032 GB, free: 14.94 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9666, allocations: 4 kB / 1.032 GB, free: 14.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01146/0.9781, allocations: 4.473 MB / 1.036 GB, free: 10.41 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.9781, allocations: 8.875 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.9782, allocations: 4 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004981/0.9832, allocations: 1.423 MB / 1.038 GB, free: 8.934 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.9852, allocations: 455.2 kB / 1.038 GB, free: 8.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/1.013, allocations: 24.53 MB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.016, allocations: 311.6 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/1.016, allocations: 63.97 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.017, allocations: 438.2 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/1.018, allocations: 158.1 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.029, allocations: 4.484 MB / 1.067 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.029, allocations: 12 kB / 1.067 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/1.029, allocations: 15.98 kB / 1.067 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.029, allocations: 7.922 kB / 1.067 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.044, allocations: 6.821 MB / 1.074 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.044, allocations: 8.062 kB / 1.074 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.046, allocations: 387.3 kB / 1.074 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/1.05, allocations: 1.311 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/1.051, allocations: 39.97 kB / 1.076 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02631/1.077, allocations: 23.49 MB / 1.099 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/1.077, allocations: 7.938 kB / 1.099 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/1.088, allocations: 4.232 MB / 1.103 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.089, allocations: 458.9 kB / 1.103 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/1.089, allocations: 24 kB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.092, allocations: 315.5 kB / 1.103 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/1.092, allocations: 132.7 kB / 1.104 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.092, allocations: 47.97 kB / 1.104 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001176/1.093, allocations: 0.737 MB / 1.104 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.5e-07/1.093, allocations: 0 / 1.104 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002193/1.095, allocations: 0.5742 MB / 1.105 GB, free: 60 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/1.106, allocations: 4.826 MB / 1.11 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.116, allocations: 5.139 MB / 1.115 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.116, allocations: 0 / 1.115 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.006786/1.123, allocations: 3.508 MB / 1.118 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.126, allocations: 0.5034 MB / 1.119 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/1.157, allocations: 14.39 MB / 1.133 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.159, allocations: 1.485 MB / 1.134 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001948/1.161, allocations: 425.6 kB / 1.134 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/1.162, allocations: 0.6242 MB / 1.135 GB, free: 208 kB / 0.8887 GB Notification: Performance of SimCode: time 2.655e-06/1.162, allocations: 0 / 1.135 GB, free: 208 kB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/1.247, allocations: 49.69 MB / 1.184 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.247, allocations: 219.7 kB / 1.184 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.269, allocations: 0 / 1.184 GB, free: 14.93 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat