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.194/2.194, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001062/0.001062, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.65/1.65, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009899, allocations: 99.78 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.056e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.393, allocations: 191.8 MB / 1.393 GB, free: 13.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.393, allocations: 99.28 kB / 1.393 GB, free: 13.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3962/1.79, allocations: 169.2 MB / 1.559 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.104e-06/1.79, allocations: 0 / 1.559 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002252/1.79, allocations: 95.94 kB / 1.559 GB, free: 5.027 MB / 0.9636 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.01201/1.802, allocations: 3.346 MB / 1.562 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.802, allocations: 8.031 kB / 1.562 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/1.809, allocations: 0.9628 MB / 1.563 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/1.815, allocations: 2.299 MB / 1.565 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/1.815, allocations: 140 kB / 1.565 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.816, allocations: 248 kB / 1.566 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009581/1.826, allocations: 4.606 MB / 1.57 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/1.839, allocations: 5.987 MB / 1.576 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.839, allocations: 11.94 kB / 1.576 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004545/1.84, allocations: 4 kB / 1.576 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/1.84, allocations: 263 kB / 1.576 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/1.88, allocations: 31.15 MB / 1.607 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/1.883, allocations: 1.828 MB / 1.608 GB, free: 14.97 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/1.884, allocations: 1.048 MB / 1.609 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/1.885, allocations: 101.9 kB / 1.61 GB, free: 13.79 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.885, allocations: 43.34 kB / 1.61 GB, free: 13.74 MB / 1.026 GB Notification: Performance of pre-optimization done (n=86): time 5.54e-06/1.885, allocations: 4 kB / 1.61 GB, free: 13.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=89): time 0.006655/1.891, allocations: 4.024 MB / 1.614 GB, free: 9.664 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/1.891, allocations: 145.2 kB / 1.614 GB, free: 9.492 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.893, allocations: 1.294 MB / 1.615 GB, free: 8.188 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/1.893, allocations: 25.7 kB / 1.615 GB, free: 8.156 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.895, allocations: 1.917 MB / 1.617 GB, free: 6.211 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/1.895, allocations: 323.7 kB / 1.617 GB, free: 5.891 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/1.895, allocations: 4 kB / 1.617 GB, free: 5.887 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.895, allocations: 394 kB / 1.618 GB, free: 5.496 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.897, allocations: 1.043 MB / 1.619 GB, free: 4.449 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.899, allocations: 2.095 MB / 1.621 GB, free: 1.84 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/1.902, allocations: 1.615 MB / 1.622 GB, free: 228 kB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/1.902, allocations: 15.95 kB / 1.622 GB, free: 212 kB / 1.026 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004979/1.907, allocations: 3.152 MB / 1.625 GB, free: 13.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005561/1.912, allocations: 13.42 MB / 1.638 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-05/1.912, allocations: 36 kB / 1.638 GB, free: 14.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.487e-05/1.912, allocations: 52 kB / 1.638 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/1.915, allocations: 0.6239 MB / 1.639 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.096e-05/1.915, allocations: 71.72 kB / 1.639 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.917, allocations: 322.7 kB / 1.639 GB, free: 13.47 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.917, allocations: 116 kB / 1.64 GB, free: 13.36 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.917, allocations: 4 kB / 1.64 GB, free: 13.36 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00409/1.922, allocations: 2.566 MB / 1.642 GB, free: 10.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.922, allocations: 36.19 kB / 1.642 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.711e-05/1.922, allocations: 59.98 kB / 1.642 GB, free: 10.7 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.923, allocations: 0.5498 MB / 1.643 GB, free: 10.14 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.055e-05/1.923, allocations: 67.78 kB / 1.643 GB, free: 10.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/1.925, allocations: 211.1 kB / 1.643 GB, free: 9.871 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/1.925, allocations: 108 kB / 1.643 GB, free: 9.766 MB / 1.057 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 () * 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.0004173/1.926, allocations: 205.1 kB / 1.643 GB, free: 9.559 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002526/1.928, allocations: 1.759 MB / 1.645 GB, free: 7.789 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/1.928, allocations: 142.2 kB / 1.645 GB, free: 7.648 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/1.931, allocations: 1.877 MB / 1.647 GB, free: 5.754 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.931, allocations: 8 kB / 1.647 GB, free: 5.746 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.931, allocations: 7.953 kB / 1.647 GB, free: 5.738 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/1.931, allocations: 7.984 kB / 1.647 GB, free: 5.73 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.942, allocations: 6.602 MB / 1.653 GB, free: 14.98 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.942, allocations: 8 kB / 1.653 GB, free: 14.97 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.943, allocations: 339.4 kB / 1.654 GB, free: 14.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/1.943, allocations: 12 kB / 1.654 GB, free: 14.62 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.865e-05/1.943, allocations: 15.89 kB / 1.654 GB, free: 14.61 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/1.943, allocations: 15.94 kB / 1.654 GB, free: 14.59 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.943, allocations: 11.94 kB / 1.654 GB, free: 14.58 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/1.946, allocations: 2.692 MB / 1.656 GB, free: 11.57 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/1.947, allocations: 443.2 kB / 1.657 GB, free: 11.11 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.947, allocations: 15.98 kB / 1.657 GB, free: 11.1 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.948, allocations: 155.7 kB / 1.657 GB, free: 10.95 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.949, allocations: 68.38 kB / 1.657 GB, free: 10.88 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/1.949, allocations: 39.97 kB / 1.657 GB, free: 10.84 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.00126/1.95, allocations: 0.9375 MB / 1.658 GB, free: 9.898 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.6e-07/1.95, allocations: 0 / 1.658 GB, free: 9.898 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004294/1.954, allocations: 1.129 MB / 1.659 GB, free: 8.77 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.003998/1.958, allocations: 5.188 MB / 1.664 GB, free: 3.363 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.005444/1.964, allocations: 3.599 MB / 1.668 GB, free: 15.77 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.964, allocations: 0 / 1.668 GB, free: 15.77 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.965, allocations: 0.8508 MB / 1.669 GB, free: 14.93 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/1.967, allocations: 356.9 kB / 1.669 GB, free: 14.59 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.984, allocations: 6.449 MB / 1.675 GB, free: 7.996 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/1.987, allocations: 2.925 MB / 1.678 GB, free: 5.039 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.003586/1.991, allocations: 1.242 MB / 1.679 GB, free: 3.789 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/1.993, allocations: 1.272 MB / 1.68 GB, free: 2.516 MB / 1.089 GB Notification: Performance of SimCode: time 1.202e-06/1.993, allocations: 4 kB / 1.68 GB, free: 2.512 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08336/2.076, allocations: 45.26 MB / 1.725 GB, free: 5.477 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/2.076, allocations: 158.5 kB / 1.725 GB, free: 5.281 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/4.86, allocations: 0 / 1.725 GB, free: 5.281 MB / 1.135 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