Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.453/2.453, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.001291/0.001291, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001025/0.001025, allocations: 95.75 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.857e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3153, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.386, allocations: 222 MB / 1.436 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.386, allocations: 100.5 kB / 1.436 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2979/1.684, allocations: 124.6 MB / 1.557 GB, free: 6.762 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.054e-06/1.684, allocations: 0 / 1.557 GB, free: 6.762 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001287/1.684, allocations: 43.98 kB / 1.557 GB, free: 6.719 MB / 1.01 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.003982/1.688, allocations: 1.65 MB / 1.559 GB, free: 5.02 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/1.688, allocations: 16.02 kB / 1.559 GB, free: 5.004 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003599/1.689, allocations: 186.2 kB / 1.559 GB, free: 4.812 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/1.701, allocations: 1.959 MB / 1.561 GB, free: 2.848 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/1.707, allocations: 2.079 MB / 1.563 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/1.707, allocations: 86.31 kB / 1.563 GB, free: 0.625 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/1.707, allocations: 123.9 kB / 1.563 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/1.711, allocations: 2.225 MB / 1.566 GB, free: 14.09 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/1.711, allocations: 7.953 kB / 1.566 GB, free: 14.08 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.712, allocations: 55.98 kB / 1.566 GB, free: 14.02 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/1.712, allocations: 90.22 kB / 1.566 GB, free: 13.93 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/1.715, allocations: 1.863 MB / 1.568 GB, free: 12.06 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/1.731, allocations: 10.71 MB / 1.578 GB, free: 0.7617 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.734, allocations: 1.507 MB / 1.579 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.735, allocations: 0.894 MB / 1.58 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/1.735, allocations: 8.781 kB / 1.58 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.735, allocations: 47.34 kB / 1.58 GB, free: 14.26 MB / 1.042 GB Notification: Performance of pre-optimization done (n=89): time 2.865e-06/1.735, allocations: 0 / 1.58 GB, free: 14.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=153): time 0.05005/1.785, allocations: 13.69 MB / 1.594 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.785, allocations: 230.9 kB / 1.594 GB, free: 252 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/1.787, allocations: 0.9955 MB / 1.595 GB, free: 15.24 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.787, allocations: 53.7 kB / 1.595 GB, free: 15.18 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/1.788, allocations: 0.736 MB / 1.596 GB, free: 14.44 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/1.789, allocations: 0.5237 MB / 1.596 GB, free: 13.91 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.789, allocations: 24 kB / 1.596 GB, free: 13.89 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.789, allocations: 361.9 kB / 1.597 GB, free: 13.53 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/1.791, allocations: 1.129 MB / 1.598 GB, free: 12.4 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.793, allocations: 1.409 MB / 1.599 GB, free: 10.89 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.794, allocations: 1.25 MB / 1.6 GB, free: 9.641 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.794, allocations: 0 / 1.6 GB, free: 9.641 MB / 1.057 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01102/1.805, allocations: 4.575 MB / 1.605 GB, free: 5.027 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.806, allocations: 11.98 kB / 1.605 GB, free: 5.016 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.806, allocations: 8 kB / 1.605 GB, free: 5.008 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/1.814, allocations: 2.126 MB / 1.607 GB, free: 2.859 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.817, allocations: 423.3 kB / 1.607 GB, free: 2.445 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03143/1.848, allocations: 22.5 MB / 1.629 GB, free: 10.88 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.852, allocations: 323.5 kB / 1.63 GB, free: 10.57 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.852, allocations: 63.97 kB / 1.63 GB, free: 10.5 MB / 1.089 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005477/1.853, allocations: 193.7 kB / 1.63 GB, free: 10.31 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/1.853, allocations: 177.9 kB / 1.63 GB, free: 10.13 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.865, allocations: 4.649 MB / 1.634 GB, free: 5.438 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/1.865, allocations: 19.95 kB / 1.635 GB, free: 5.418 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.865, allocations: 20 kB / 1.635 GB, free: 5.398 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/1.865, allocations: 7.969 kB / 1.635 GB, free: 5.391 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.88, allocations: 6.872 MB / 1.641 GB, free: 14.39 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.881, allocations: 0 / 1.641 GB, free: 14.39 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.882, allocations: 367.7 kB / 1.642 GB, free: 14.04 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008141/1.891, allocations: 1.977 MB / 1.644 GB, free: 12.04 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/1.891, allocations: 43.95 kB / 1.644 GB, free: 11.99 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02864/1.92, allocations: 21.67 MB / 1.665 GB, free: 5.258 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.92, allocations: 7.969 kB / 1.665 GB, free: 5.25 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.93, allocations: 4.423 MB / 1.669 GB, free: 0.6641 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/1.932, allocations: 0.5027 MB / 1.67 GB, free: 144 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/1.932, allocations: 32 kB / 1.67 GB, free: 112 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.935, allocations: 331.5 kB / 1.67 GB, free: 15.79 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/1.935, allocations: 153 kB / 1.67 GB, free: 15.64 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.935, allocations: 51.97 kB / 1.67 GB, free: 15.59 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001319/1.937, allocations: 0.7807 MB / 1.671 GB, free: 14.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.61e-07/1.937, allocations: 480 / 1.671 GB, free: 14.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003021/1.94, allocations: 0.7187 MB / 1.672 GB, free: 14.09 MB / 1.135 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01117/1.951, allocations: 5.81 MB / 1.677 GB, free: 8.148 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.008439/1.959, allocations: 4.346 MB / 1.681 GB, free: 3.695 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.959, allocations: 4 kB / 1.681 GB, free: 3.691 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.005775/1.965, allocations: 2.955 MB / 1.684 GB, free: 0.6328 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.969, allocations: 0.4923 MB / 1.685 GB, free: 148 kB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/1.978, allocations: 3.57 MB / 1.688 GB, free: 12.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.98, allocations: 1.604 MB / 1.69 GB, free: 10.85 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002061/1.982, allocations: 406.7 kB / 1.69 GB, free: 10.45 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.983, allocations: 0.6711 MB / 1.691 GB, free: 9.777 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/1.983, allocations: 0 / 1.691 GB, free: 9.777 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8069/2.79, allocations: 59.02 MB / 1.749 GB, free: 333.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/2.79, allocations: 202.9 kB / 1.749 GB, free: 333 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/6.834, allocations: 0 / 1.749 GB, free: 333 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat