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.28/2.28, 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.001149/0.00115, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.536/1.536, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001088/0.001088, allocations: 102.6 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.597e-05, allocations: 5.641 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.333, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.52, allocations: 218.7 MB / 1.426 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.52, allocations: 104.9 kB / 1.426 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3139/1.834, allocations: 123.1 MB / 1.546 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.727e-06/1.834, allocations: 0 / 1.546 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002082/1.834, allocations: 43.92 kB / 1.546 GB, free: 0.8789 MB / 0.948 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.00559/1.84, allocations: 1.614 MB / 1.548 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/1.84, allocations: 8.031 kB / 1.548 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.852, allocations: 1.874 MB / 1.55 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/1.856, allocations: 1.22 MB / 1.551 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/1.856, allocations: 36 kB / 1.551 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006392/1.857, allocations: 75.84 kB / 1.551 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004068/1.861, allocations: 1.696 MB / 1.553 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004987/1.866, allocations: 2.065 MB / 1.555 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/1.866, allocations: 7.938 kB / 1.555 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/1.866, allocations: 4 kB / 1.555 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/1.867, allocations: 86.3 kB / 1.555 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/1.885, allocations: 10.44 MB / 1.565 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/1.888, allocations: 1.657 MB / 1.567 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.889, allocations: 0.8787 MB / 1.568 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/1.889, allocations: 12.77 kB / 1.568 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/1.889, allocations: 43.34 kB / 1.568 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 3.927e-06/1.889, allocations: 0 / 1.568 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.01449/1.904, allocations: 5.717 MB / 1.573 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.904, allocations: 222.9 kB / 1.573 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.905, allocations: 0.7623 MB / 1.574 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.906, allocations: 25.7 kB / 1.574 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/1.906, allocations: 0.7144 MB / 1.575 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/1.907, allocations: 433.4 kB / 1.575 GB, free: 2.227 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.907, allocations: 4 kB / 1.575 GB, free: 2.223 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.907, allocations: 357.9 kB / 1.576 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/1.909, allocations: 0.9319 MB / 1.576 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/1.91, allocations: 1.179 MB / 1.578 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.912, allocations: 1.084 MB / 1.579 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.912, allocations: 4 kB / 1.579 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008727/1.921, allocations: 3.608 MB / 1.582 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.921, allocations: 12.16 kB / 1.582 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.921, allocations: 12.06 kB / 1.582 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/1.928, allocations: 1.568 MB / 1.584 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/1.93, allocations: 435.3 kB / 1.584 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02549/1.956, allocations: 23.91 MB / 1.608 GB, free: 15.44 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.959, allocations: 295.5 kB / 1.608 GB, free: 15.15 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004077/1.959, allocations: 55.97 kB / 1.608 GB, free: 15.09 MB / 1.026 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 (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.0006051/1.96, allocations: 136.7 kB / 1.608 GB, free: 14.95 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0085/1.968, allocations: 3.409 MB / 1.611 GB, free: 11.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006553/1.969, allocations: 150.3 kB / 1.611 GB, free: 11.35 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009499/1.978, allocations: 3.663 MB / 1.615 GB, free: 7.629 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.979, allocations: 12 kB / 1.615 GB, free: 7.617 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/1.979, allocations: 12 kB / 1.615 GB, free: 7.605 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/1.979, allocations: 11.97 kB / 1.615 GB, free: 7.594 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/1.993, allocations: 5.956 MB / 1.621 GB, free: 1.492 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.993, allocations: 4 kB / 1.621 GB, free: 1.488 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.995, allocations: 399.6 kB / 1.621 GB, free: 1.098 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006454/2.002, allocations: 1.466 MB / 1.623 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/2.002, allocations: 19.97 kB / 1.623 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/2.026, allocations: 22.92 MB / 1.645 GB, free: 7.156 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/2.027, allocations: 7.938 kB / 1.645 GB, free: 7.148 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008794/2.035, allocations: 3.612 MB / 1.649 GB, free: 3.391 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/2.037, allocations: 455.1 kB / 1.649 GB, free: 2.926 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006389/2.037, allocations: 4 kB / 1.649 GB, free: 2.922 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/2.04, allocations: 303.5 kB / 1.649 GB, free: 2.625 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/2.041, allocations: 121 kB / 1.65 GB, free: 2.508 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/2.041, allocations: 51.97 kB / 1.65 GB, free: 2.457 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001362/2.042, allocations: 0.5762 MB / 1.65 GB, free: 1.875 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.51e-07/2.042, allocations: 3.938 kB / 1.65 GB, free: 1.871 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003554/2.046, allocations: 0.543 MB / 1.651 GB, free: 1.328 MB / 1.057 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 () * 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.008903/2.055, allocations: 4.942 MB / 1.655 GB, free: 12.24 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.007443/2.062, allocations: 4.151 MB / 1.66 GB, free: 7.965 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/2.062, allocations: 8.125 kB / 1.66 GB, free: 7.957 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005398/2.068, allocations: 2.987 MB / 1.662 GB, free: 4.84 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/2.071, allocations: 428.9 kB / 1.663 GB, free: 4.426 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/2.079, allocations: 3.133 MB / 1.666 GB, free: 1.211 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/2.081, allocations: 1.512 MB / 1.667 GB, free: 15.67 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00229/2.084, allocations: 408.1 kB / 1.668 GB, free: 15.27 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/2.085, allocations: 0.6164 MB / 1.668 GB, free: 14.65 MB / 1.089 GB Notification: Performance of SimCode: time 1.844e-06/2.085, allocations: 0 / 1.668 GB, free: 14.65 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09987/2.185, allocations: 46.86 MB / 1.714 GB, free: 172 kB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.185, allocations: 163 kB / 1.714 GB, free: 15.97 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/5.693, allocations: 0 / 1.714 GB, free: 15.97 MB / 1.135 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