Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.284/2.284, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001453/0.001453, allocations: 191.9 kB / 0.4901 GB, free: 2.234 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.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001299/0.001299, allocations: 98.59 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 10.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2988, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.203, allocations: 219.5 MB / 1.444 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.203, allocations: 100.1 kB / 1.444 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2703/1.473, allocations: 124.3 MB / 1.565 GB, free: 80.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.727e-06/1.474, allocations: 0 / 1.565 GB, free: 80.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002579/1.474, allocations: 39.98 kB / 1.565 GB, free: 80.07 MB / 0.9167 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.006786/1.481, allocations: 1.839 MB / 1.567 GB, free: 78.18 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.925e-05/1.481, allocations: 12.56 kB / 1.567 GB, free: 78.16 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009054/1.482, allocations: 194.2 kB / 1.567 GB, free: 77.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/1.492, allocations: 1.87 MB / 1.569 GB, free: 76.09 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/1.496, allocations: 1.235 MB / 1.57 GB, free: 74.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.496, allocations: 90.36 kB / 1.57 GB, free: 74.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006679/1.497, allocations: 120 kB / 1.57 GB, free: 74.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007136/1.504, allocations: 2.736 MB / 1.573 GB, free: 71.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-05/1.504, allocations: 15.86 kB / 1.573 GB, free: 71.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003793/1.505, allocations: 59.92 kB / 1.573 GB, free: 71.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/1.505, allocations: 78.3 kB / 1.573 GB, free: 71.51 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007506/1.512, allocations: 2.85 MB / 1.576 GB, free: 68.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/1.53, allocations: 10.72 MB / 1.586 GB, free: 57.35 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006296/1.536, allocations: 2.594 MB / 1.589 GB, free: 54.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/1.536, allocations: 9 kB / 1.589 GB, free: 54.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/1.536, allocations: 47.56 kB / 1.589 GB, free: 54.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 4.037e-06/1.536, allocations: 0 / 1.589 GB, free: 54.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.04431/1.581, allocations: 13.99 MB / 1.603 GB, free: 40.42 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/1.581, allocations: 226.9 kB / 1.603 GB, free: 40.14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.582, allocations: 0.9658 MB / 1.604 GB, free: 39.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/1.583, allocations: 53.69 kB / 1.604 GB, free: 39.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/1.583, allocations: 0.7079 MB / 1.605 GB, free: 38.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/1.584, allocations: 449.4 kB / 1.605 GB, free: 37.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.584, allocations: 28 kB / 1.605 GB, free: 37.92 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.584, allocations: 349.9 kB / 1.605 GB, free: 37.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/1.587, allocations: 1.369 MB / 1.607 GB, free: 36.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/1.59, allocations: 1.63 MB / 1.608 GB, free: 34.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/1.593, allocations: 1.474 MB / 1.61 GB, free: 33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.593, allocations: 0 / 1.61 GB, free: 33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01159/1.605, allocations: 4.552 MB / 1.614 GB, free: 28.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/1.605, allocations: 11.98 kB / 1.614 GB, free: 28.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.605, allocations: 4 kB / 1.614 GB, free: 28.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007481/1.612, allocations: 1.619 MB / 1.616 GB, free: 26.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/1.616, allocations: 443.2 kB / 1.616 GB, free: 26.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03229/1.648, allocations: 25.33 MB / 1.641 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.651, allocations: 323.5 kB / 1.641 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/1.652, allocations: 55.97 kB / 1.641 GB, free: 14.84 MB / 0.9323 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 (95): * Single equations (assignments): 82 * 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 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001469/1.653, allocations: 449.3 kB / 1.642 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/1.654, allocations: 158.1 kB / 1.642 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.667, allocations: 4.593 MB / 1.646 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/1.667, allocations: 15.95 kB / 1.646 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-05/1.667, allocations: 12 kB / 1.646 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.667, allocations: 7.969 kB / 1.646 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.685, allocations: 7.016 MB / 1.653 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.685, allocations: 12.28 kB / 1.653 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.687, allocations: 379.4 kB / 1.654 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006495/1.694, allocations: 1.517 MB / 1.655 GB, free: 440 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/1.694, allocations: 43.97 kB / 1.655 GB, free: 396 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02755/1.721, allocations: 24.35 MB / 1.679 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.721, allocations: 96 / 1.679 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.734, allocations: 4.524 MB / 1.683 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.735, allocations: 471 kB / 1.684 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005199/1.736, allocations: 24 kB / 1.684 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.738, allocations: 319.5 kB / 1.684 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/1.739, allocations: 132.7 kB / 1.684 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.739, allocations: 51.91 kB / 1.684 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001434/1.74, allocations: 0.7526 MB / 1.685 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/1.74, allocations: 0 / 1.685 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002781/1.743, allocations: 0.6093 MB / 1.686 GB, free: 15.25 MB / 0.9792 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,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/1.756, allocations: 5.856 MB / 1.691 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.769, allocations: 5.177 MB / 1.696 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.769, allocations: 4 kB / 1.696 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008136/1.778, allocations: 3.558 MB / 1.7 GB, free: 164 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.78, allocations: 0.491 MB / 1.7 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04025/1.821, allocations: 18.46 MB / 1.718 GB, free: 12.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.823, allocations: 1.509 MB / 1.72 GB, free: 11.17 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002174/1.825, allocations: 429.3 kB / 1.72 GB, free: 10.74 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.826, allocations: 0.6281 MB / 1.721 GB, free: 10.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/1.826, allocations: 0 / 1.721 GB, free: 10.11 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.938, allocations: 51.31 MB / 1.771 GB, free: 7.445 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.938, allocations: 221.1 kB / 1.771 GB, free: 7.203 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.555/5.494, allocations: 0 / 1.771 GB, free: 7.203 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat