Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.294/2.294, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001195/0.001195, allocations: 184.8 kB / 498.1 MB, free: 5.738 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.51/1.51, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009704/0.0009706, allocations: 97.94 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003701, allocations: 8.438 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2435, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7849/1.028, allocations: 192.5 MB / 1.411 GB, free: 74.16 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.029, allocations: 100.7 kB / 1.411 GB, free: 74.16 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.37/1.399, allocations: 170.5 MB / 1.578 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.234e-06/1.399, allocations: 0 / 1.578 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002907/1.399, allocations: 99.92 kB / 1.578 GB, free: 11.29 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01419/1.413, allocations: 3.482 MB / 1.581 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.414, allocations: 12.03 kB / 1.581 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003697/1.417, allocations: 0.6431 MB / 1.582 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006946/1.424, allocations: 0.955 MB / 1.583 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00841/1.433, allocations: 2.303 MB / 1.585 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/1.433, allocations: 324.6 kB / 1.585 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002626/1.436, allocations: 424 kB / 1.586 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/1.458, allocations: 6.687 MB / 1.592 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/1.459, allocations: 15.78 kB / 1.592 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002098/1.461, allocations: 184 kB / 1.592 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/1.461, allocations: 258.9 kB / 1.593 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/1.475, allocations: 5.32 MB / 1.598 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/1.526, allocations: 32.47 MB / 1.629 GB, free: 4.102 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/1.53, allocations: 1.885 MB / 1.631 GB, free: 2.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/1.53, allocations: 93.81 kB / 1.631 GB, free: 2.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/1.53, allocations: 51.2 kB / 1.631 GB, free: 2.012 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 3.817e-06/1.53, allocations: 0 / 1.631 GB, free: 2.012 MB / 0.948 GB Notification: Performance of matching and sorting (n=89): time 0.01039/1.541, allocations: 4.768 MB / 1.636 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.541, allocations: 141.2 kB / 1.636 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/1.544, allocations: 1.467 MB / 1.638 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002698/1.544, allocations: 41.7 kB / 1.638 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.546, allocations: 1.905 MB / 1.64 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/1.546, allocations: 339.5 kB / 1.64 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.546, allocations: 40 kB / 1.64 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000253/1.547, allocations: 398 kB / 1.64 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.549, allocations: 1.093 MB / 1.641 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/1.551, allocations: 2.161 MB / 1.643 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/1.554, allocations: 1.514 MB / 1.645 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/1.554, allocations: 12 kB / 1.645 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005662/1.559, allocations: 3.276 MB / 1.648 GB, free: 224 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006189/1.566, allocations: 13.42 MB / 1.661 GB, free: 1.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-05/1.566, allocations: 40 kB / 1.661 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.97e-05/1.566, allocations: 52 kB / 1.661 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.569, allocations: 0.6161 MB / 1.662 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.64e-05/1.569, allocations: 67.78 kB / 1.662 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/1.572, allocations: 374.6 kB / 1.662 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/1.572, allocations: 112 kB / 1.663 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.572, allocations: 4 kB / 1.663 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005166/1.577, allocations: 2.734 MB / 1.665 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.25e-05/1.578, allocations: 35.94 kB / 1.665 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.288e-05/1.578, allocations: 52 kB / 1.665 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.58, allocations: 0.5498 MB / 1.666 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.484e-05/1.58, allocations: 71.73 kB / 1.666 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.582, allocations: 255.3 kB / 1.666 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/1.582, allocations: 112 kB / 1.666 GB, free: 12.69 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003859/1.586, allocations: 1.702 MB / 1.668 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/1.586, allocations: 154.1 kB / 1.668 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/1.589, allocations: 1.894 MB / 1.67 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.589, allocations: 8 kB / 1.67 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.59, allocations: 7.953 kB / 1.67 GB, free: 8.895 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.59, allocations: 7.969 kB / 1.67 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/1.607, allocations: 8.751 MB / 1.678 GB, free: 15.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.607, allocations: 12 kB / 1.678 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.609, allocations: 331.4 kB / 1.679 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.744e-05/1.609, allocations: 15.94 kB / 1.679 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.609, allocations: 28 kB / 1.679 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/1.609, allocations: 23.75 kB / 1.679 GB, free: 15.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/1.609, allocations: 11.94 kB / 1.679 GB, free: 15.51 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/1.613, allocations: 2.906 MB / 1.682 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.614, allocations: 458.8 kB / 1.682 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/1.615, allocations: 28 kB / 1.682 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.616, allocations: 167.9 kB / 1.682 GB, free: 11.57 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.616, allocations: 84.25 kB / 1.682 GB, free: 11.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/1.616, allocations: 36 kB / 1.682 GB, free: 11.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00212/1.618, allocations: 1.089 MB / 1.683 GB, free: 10.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/1.618, allocations: 0 / 1.683 GB, free: 10.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004949/1.623, allocations: 1.227 MB / 1.685 GB, free: 9.137 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004759/1.628, allocations: 5.92 MB / 1.69 GB, free: 2.934 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006409/1.635, allocations: 3.79 MB / 1.694 GB, free: 15.16 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.635, allocations: 0 / 1.694 GB, free: 15.16 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.636, allocations: 0.8822 MB / 1.695 GB, free: 14.28 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/1.638, allocations: 395.1 kB / 1.695 GB, free: 13.91 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/1.679, allocations: 39.41 MB / 1.734 GB, free: 5.359 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/1.683, allocations: 2.927 MB / 1.737 GB, free: 2.398 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.003668/1.686, allocations: 1.2 MB / 1.738 GB, free: 1.191 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/1.689, allocations: 1.28 MB / 1.739 GB, free: 15.91 MB / 1.073 GB Notification: Performance of SimCode: time 2.033e-06/1.689, allocations: 0 / 1.739 GB, free: 15.91 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08526/1.774, allocations: 45.16 MB / 1.783 GB, free: 3.137 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/1.774, allocations: 195.2 kB / 1.783 GB, free: 2.898 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/4.714, allocations: 3.938 kB / 1.783 GB, free: 2.895 MB / 1.104 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat