Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001625/0.001625, allocations: 187.3 kB / 498.1 MB, free: 5.754 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.513/1.513, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0008318/0.0008319, allocations: 84.27 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004408, allocations: 15.5 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 142.3 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.5046, allocations: 175.2 MB / 1.394 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.505, allocations: 99.92 kB / 1.394 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6939/1.199, allocations: 55.85 MB / 1.449 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.235e-06/1.199, allocations: 0 / 1.449 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.788e-05/1.199, allocations: 27.58 kB / 1.449 GB, free: 163.5 MB / 0.9011 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.002706/1.202, allocations: 1.058 MB / 1.45 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.202, allocations: 7.906 kB / 1.45 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003603/1.202, allocations: 125.6 kB / 1.45 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/1.204, allocations: 250.2 kB / 1.45 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.205, allocations: 0.534 MB / 1.451 GB, free: 162 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/1.205, allocations: 47.03 kB / 1.451 GB, free: 162 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.205, allocations: 69.33 kB / 1.451 GB, free: 162 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.207, allocations: 1.132 MB / 1.452 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.207, allocations: 11.62 kB / 1.452 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/1.207, allocations: 35.48 kB / 1.452 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/1.207, allocations: 52.22 kB / 1.452 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/1.208, allocations: 0.7433 MB / 1.453 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/1.213, allocations: 5.919 MB / 1.458 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/1.214, allocations: 0.5477 MB / 1.459 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/1.214, allocations: 8.422 kB / 1.459 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.214, allocations: 43 kB / 1.459 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=47): time 3.777e-06/1.214, allocations: 0 / 1.459 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.00345/1.218, allocations: 1.98 MB / 1.461 GB, free: 151.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/1.218, allocations: 55.84 kB / 1.461 GB, free: 151.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/1.218, allocations: 0.4915 MB / 1.461 GB, free: 151.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/1.218, allocations: 37.7 kB / 1.462 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.218, allocations: 403.2 kB / 1.462 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.218, allocations: 165.6 kB / 1.462 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/1.218, allocations: 16 kB / 1.462 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/1.219, allocations: 374.8 kB / 1.462 GB, free: 150.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/1.219, allocations: 269.2 kB / 1.463 GB, free: 149.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/1.219, allocations: 462.8 kB / 1.463 GB, free: 149.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/1.22, allocations: 334 kB / 1.463 GB, free: 149.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.22, allocations: 11.95 kB / 1.463 GB, free: 149.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001549/1.221, allocations: 1.055 MB / 1.464 GB, free: 148 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.221, allocations: 8 kB / 1.464 GB, free: 148 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.221, allocations: 4.75 kB / 1.465 GB, free: 148 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/1.222, allocations: 283.1 kB / 1.465 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/1.223, allocations: 123.8 kB / 1.465 GB, free: 147.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/1.227, allocations: 6.697 MB / 1.471 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/1.228, allocations: 35.91 kB / 1.471 GB, free: 140.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/1.228, allocations: 32 kB / 1.471 GB, free: 140.3 MB / 0.9011 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 () * Number of clocked 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.0004941/1.229, allocations: 250.5 kB / 1.472 GB, free: 140 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.229, allocations: 71.16 kB / 1.472 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.23, allocations: 0.8809 MB / 1.473 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.23, allocations: 7.938 kB / 1.473 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.23, allocations: 4 kB / 1.473 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.23, allocations: 11.92 kB / 1.473 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/1.233, allocations: 1.721 MB / 1.474 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.233, allocations: 0 / 1.474 GB, free: 137.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/1.233, allocations: 59.89 kB / 1.474 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007082/1.234, allocations: 271.8 kB / 1.475 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/1.234, allocations: 12 kB / 1.475 GB, free: 136.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/1.239, allocations: 6.697 MB / 1.481 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.239, allocations: 0 / 1.481 GB, free: 129.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/1.24, allocations: 1.052 MB / 1.482 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/1.24, allocations: 200.2 kB / 1.482 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.241, allocations: 11.95 kB / 1.482 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/1.241, allocations: 27.97 kB / 1.482 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.241, allocations: 43.94 kB / 1.483 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/1.241, allocations: 16.22 kB / 1.483 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004227/1.242, allocations: 387.1 kB / 1.483 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/1.242, allocations: 0 / 1.483 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009002/1.243, allocations: 236 kB / 1.483 GB, free: 127.6 MB / 0.9011 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 () * Number of clocked 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.001584/1.244, allocations: 2.024 MB / 1.485 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.246, allocations: 1.26 MB / 1.486 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.246, allocations: 0 / 1.486 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.247, allocations: 0.8932 MB / 1.487 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/1.248, allocations: 201.2 kB / 1.487 GB, free: 123 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/1.256, allocations: 8.313 MB / 1.496 GB, free: 114.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.256, allocations: 1.036 MB / 1.497 GB, free: 113.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005593/1.257, allocations: 113.9 kB / 1.497 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.257, allocations: 259.3 kB / 1.497 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of SimCode: time 2.194e-06/1.257, allocations: 0 / 1.497 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/1.291, allocations: 16.36 MB / 1.513 GB, free: 97.05 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/1.291, allocations: 213.9 kB / 1.513 GB, free: 96.81 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.705, allocations: 0 / 1.513 GB, free: 96.81 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat