Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.34/2.34, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001408/0.001409, allocations: 187.8 kB / 0.4902 GB, free: 2.242 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.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009789/0.0009788, allocations: 107.1 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004574, allocations: 9.406 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3286, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.5558, allocations: 179.9 MB / 1.405 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5562, allocations: 99.92 kB / 1.405 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8339/1.39, allocations: 92.11 MB / 1.495 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.918e-06/1.39, allocations: 0 / 1.495 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002236/1.39, allocations: 55.98 kB / 1.495 GB, free: 117 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008526/1.399, allocations: 2.233 MB / 1.497 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.399, allocations: 16.02 kB / 1.497 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002105/1.401, allocations: 370.3 kB / 1.498 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/1.406, allocations: 0.7579 MB / 1.498 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/1.411, allocations: 1.539 MB / 1.5 GB, free: 112 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/1.411, allocations: 180.8 kB / 1.5 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/1.413, allocations: 235.9 kB / 1.5 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.425, allocations: 3.872 MB / 1.504 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/1.425, allocations: 7.938 kB / 1.504 GB, free: 107.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.426, allocations: 104 kB / 1.504 GB, free: 107.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/1.426, allocations: 156.5 kB / 1.504 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007523/1.434, allocations: 3.266 MB / 1.508 GB, free: 104 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/1.457, allocations: 16.49 MB / 1.524 GB, free: 86.06 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/1.46, allocations: 2.129 MB / 1.526 GB, free: 83.75 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/1.46, allocations: 101.6 kB / 1.526 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/1.46, allocations: 43.12 kB / 1.526 GB, free: 83.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.805e-06/1.46, allocations: 0 / 1.526 GB, free: 83.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.006545/1.467, allocations: 3.462 MB / 1.529 GB, free: 80.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.467, allocations: 111.5 kB / 1.529 GB, free: 79.89 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.469, allocations: 0.9154 MB / 1.53 GB, free: 78.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/1.469, allocations: 37.7 kB / 1.53 GB, free: 78.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/1.469, allocations: 1.095 MB / 1.531 GB, free: 77.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/1.469, allocations: 272.2 kB / 1.532 GB, free: 77.52 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/1.469, allocations: 28 kB / 1.532 GB, free: 77.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.47, allocations: 410.7 kB / 1.532 GB, free: 77.09 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/1.47, allocations: 0.6167 MB / 1.533 GB, free: 76.47 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.472, allocations: 1.161 MB / 1.534 GB, free: 75.05 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.473, allocations: 0.8501 MB / 1.535 GB, free: 74.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/1.473, allocations: 8 kB / 1.535 GB, free: 74.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00292/1.476, allocations: 2.003 MB / 1.537 GB, free: 72.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.476, allocations: 12 kB / 1.537 GB, free: 72.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.476, allocations: 20 kB / 1.537 GB, free: 72.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/1.476, allocations: 163.3 kB / 1.537 GB, free: 71.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.477, allocations: 339.5 kB / 1.537 GB, free: 71.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.212e-05/1.477, allocations: 39.89 kB / 1.537 GB, free: 71.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.479, allocations: 139.6 kB / 1.537 GB, free: 71.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.479, allocations: 67.94 kB / 1.537 GB, free: 71.39 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00188/1.481, allocations: 0.9753 MB / 1.538 GB, free: 70.41 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/1.481, allocations: 106.7 kB / 1.538 GB, free: 70.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.483, allocations: 1.249 MB / 1.54 GB, free: 69.03 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.483, allocations: 12 kB / 1.54 GB, free: 69.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.483, allocations: 3.953 kB / 1.54 GB, free: 69.01 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/1.483, allocations: 3.984 kB / 1.54 GB, free: 69.01 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/1.49, allocations: 3.561 MB / 1.543 GB, free: 65.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/1.49, allocations: 0 / 1.543 GB, free: 65.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.491, allocations: 167.7 kB / 1.543 GB, free: 65.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/1.491, allocations: 143.5 kB / 1.543 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/1.491, allocations: 20 kB / 1.543 GB, free: 65.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.491, allocations: 4 kB / 1.543 GB, free: 65.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.491, allocations: 4 kB / 1.543 GB, free: 65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.493, allocations: 1.6 MB / 1.545 GB, free: 63.29 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/1.494, allocations: 295.6 kB / 1.545 GB, free: 62.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.494, allocations: 16 kB / 1.545 GB, free: 62.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.495, allocations: 75.89 kB / 1.545 GB, free: 62.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/1.495, allocations: 64.38 kB / 1.545 GB, free: 62.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/1.495, allocations: 20 kB / 1.545 GB, free: 62.81 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00105/1.496, allocations: 0.6913 MB / 1.546 GB, free: 62.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.496, allocations: 0 / 1.546 GB, free: 62.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00175/1.498, allocations: 412.1 kB / 1.546 GB, free: 61.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0022/1.5, allocations: 2.866 MB / 1.549 GB, free: 58.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002137/1.502, allocations: 1.705 MB / 1.551 GB, free: 56.95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.502, allocations: 9.875 kB / 1.551 GB, free: 56.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/1.503, allocations: 0.8742 MB / 1.552 GB, free: 55.98 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.505, allocations: 232.4 kB / 1.552 GB, free: 55.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/1.526, allocations: 21.92 MB / 1.573 GB, free: 33.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003286/1.53, allocations: 1.964 MB / 1.575 GB, free: 31.21 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001421/1.531, allocations: 437.3 kB / 1.576 GB, free: 30.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.532, allocations: 0.7236 MB / 1.576 GB, free: 30.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.052e-06/1.532, allocations: 0 / 1.576 GB, free: 30.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/1.596, allocations: 27.03 MB / 1.603 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.597, allocations: 230.5 kB / 1.603 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/4.035, allocations: 0 / 1.603 GB, free: 3.141 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat