Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.263/2.263, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001282/0.001283, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.453 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.001055/0.001055, allocations: 91.97 kB / 0.9318 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.306e-05/4.31e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3533, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.549, allocations: 192.6 MB / 1.407 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.549, allocations: 92.47 kB / 1.407 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3096/1.859, allocations: 119 MB / 1.523 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.643e-06/1.859, allocations: 0 / 1.523 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002173/1.859, allocations: 64 kB / 1.523 GB, free: 9.844 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009377/1.868, allocations: 2.424 MB / 1.526 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.868, allocations: 8.031 kB / 1.526 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002352/1.871, allocations: 437.8 kB / 1.526 GB, free: 6.918 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/1.876, allocations: 0.7029 MB / 1.527 GB, free: 6.211 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/1.88, allocations: 1.605 MB / 1.528 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/1.88, allocations: 217.8 kB / 1.529 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008165/1.881, allocations: 291.9 kB / 1.529 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00916/1.89, allocations: 4.533 MB / 1.533 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-05/1.89, allocations: 11.94 kB / 1.533 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/1.89, allocations: 124 kB / 1.533 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002158/1.891, allocations: 184.6 kB / 1.534 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006903/1.898, allocations: 3.667 MB / 1.537 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/1.927, allocations: 23.06 MB / 1.56 GB, free: 2.152 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.93, allocations: 1.548 MB / 1.561 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.931, allocations: 0.8377 MB / 1.562 GB, free: 15.71 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/1.931, allocations: 89.67 kB / 1.562 GB, free: 15.61 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.931, allocations: 51.05 kB / 1.562 GB, free: 15.55 MB / 1.026 GB Notification: Performance of pre-optimization done (n=72): time 3.145e-06/1.931, allocations: 0 / 1.562 GB, free: 15.55 MB / 1.026 GB Notification: Performance of matching and sorting (n=75): time 0.005012/1.936, allocations: 2.9 MB / 1.565 GB, free: 12.61 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/1.937, allocations: 141.1 kB / 1.565 GB, free: 12.44 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.938, allocations: 0.9261 MB / 1.566 GB, free: 11.51 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/1.938, allocations: 41.7 kB / 1.566 GB, free: 11.46 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/1.939, allocations: 1.192 MB / 1.567 GB, free: 10.25 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.939, allocations: 264.2 kB / 1.567 GB, free: 9.988 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-05/1.939, allocations: 28 kB / 1.567 GB, free: 9.961 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.939, allocations: 410.9 kB / 1.568 GB, free: 9.551 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.94, allocations: 0.76 MB / 1.569 GB, free: 8.789 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.942, allocations: 1.252 MB / 1.57 GB, free: 7.32 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/1.943, allocations: 0.9622 MB / 1.571 GB, free: 6.355 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.943, allocations: 4 kB / 1.571 GB, free: 6.352 MB / 1.026 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003031/1.946, allocations: 2.1 MB / 1.573 GB, free: 4.242 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002294/1.948, allocations: 5.495 MB / 1.578 GB, free: 14.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.948, allocations: 16 kB / 1.578 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.259e-05/1.948, allocations: 24 kB / 1.578 GB, free: 14.28 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.95, allocations: 415.3 kB / 1.579 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/1.95, allocations: 27.92 kB / 1.579 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.952, allocations: 259.2 kB / 1.579 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.952, allocations: 63.92 kB / 1.579 GB, free: 13.53 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.952, allocations: 7.953 kB / 1.579 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/1.954, allocations: 1.689 MB / 1.581 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.954, allocations: 16 kB / 1.581 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/1.954, allocations: 24.84 kB / 1.581 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.955, allocations: 359.4 kB / 1.581 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/1.955, allocations: 31.86 kB / 1.581 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.956, allocations: 175.5 kB / 1.581 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.957, allocations: 63.92 kB / 1.581 GB, free: 11.17 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0002601/1.957, allocations: 184.5 kB / 1.581 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/1.957, allocations: 102.7 kB / 1.582 GB, free: 10.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/1.959, allocations: 1.475 MB / 1.583 GB, free: 9.395 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.959, allocations: 8.141 kB / 1.583 GB, free: 9.387 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.959, allocations: 7.969 kB / 1.583 GB, free: 9.379 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.959, allocations: 7.984 kB / 1.583 GB, free: 9.371 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.97, allocations: 7.222 MB / 1.59 GB, free: 1.938 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.97, allocations: 12.03 kB / 1.59 GB, free: 1.926 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.971, allocations: 259.5 kB / 1.59 GB, free: 1.672 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/1.971, allocations: 15.98 kB / 1.59 GB, free: 1.656 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/1.971, allocations: 24 kB / 1.59 GB, free: 1.633 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/1.971, allocations: 15.94 kB / 1.59 GB, free: 1.617 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/1.971, allocations: 11.94 kB / 1.59 GB, free: 1.605 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.974, allocations: 2.379 MB / 1.593 GB, free: 14.87 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/1.975, allocations: 379.5 kB / 1.593 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/1.975, allocations: 27.94 kB / 1.593 GB, free: 14.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008783/1.976, allocations: 143.8 kB / 1.593 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.976, allocations: 67.77 kB / 1.593 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/1.976, allocations: 28 kB / 1.593 GB, free: 14.22 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0009583/1.977, allocations: 0.7067 MB / 1.594 GB, free: 13.5 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.6e-07/1.977, allocations: 0 / 1.594 GB, free: 13.5 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002718/1.98, allocations: 0.8242 MB / 1.595 GB, free: 12.67 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.003914/1.984, allocations: 5.513 MB / 1.6 GB, free: 6.883 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.003899/1.988, allocations: 2.589 MB / 1.603 GB, free: 4.301 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.988, allocations: 0 / 1.603 GB, free: 4.301 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.989, allocations: 0.716 MB / 1.603 GB, free: 3.586 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.99, allocations: 263.1 kB / 1.604 GB, free: 3.332 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/1.999, allocations: 4.579 MB / 1.608 GB, free: 14.59 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/2.002, allocations: 2.168 MB / 1.61 GB, free: 12.38 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.002047/2.004, allocations: 0.789 MB / 1.611 GB, free: 11.59 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/2.005, allocations: 0.8117 MB / 1.612 GB, free: 10.78 MB / 1.073 GB Notification: Performance of SimCode: time 1.072e-06/2.005, allocations: 0 / 1.612 GB, free: 10.78 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/2.06, allocations: 31.59 MB / 1.643 GB, free: 11.49 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/2.06, allocations: 182.3 kB / 1.643 GB, free: 11.27 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/5.093, allocations: 0 / 1.643 GB, free: 11.27 MB / 1.104 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat