Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00111/0.00111, allocations: 167 kB / 498.1 MB, free: 5.754 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.487/1.487, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0008709/0.000871, allocations: 88.41 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004473, allocations: 11.53 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.4905, allocations: 173.9 MB / 1.393 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.4909, allocations: 103.9 kB / 1.393 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.916/1.407, allocations: 113.8 MB / 1.504 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.226e-06/1.407, allocations: 0 / 1.504 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001688/1.407, allocations: 51.92 kB / 1.504 GB, free: 145.2 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004931/1.412, allocations: 1.692 MB / 1.506 GB, free: 143.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.412, allocations: 8.031 kB / 1.506 GB, free: 143.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005101/1.413, allocations: 219.2 kB / 1.506 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/1.417, allocations: 0.6222 MB / 1.507 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/1.419, allocations: 0.8803 MB / 1.507 GB, free: 141.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/1.419, allocations: 98.52 kB / 1.508 GB, free: 141.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.42, allocations: 135.9 kB / 1.508 GB, free: 141.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/1.422, allocations: 2.322 MB / 1.51 GB, free: 138.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/1.422, allocations: 7.938 kB / 1.51 GB, free: 138.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.422, allocations: 71.95 kB / 1.51 GB, free: 138.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/1.423, allocations: 138.3 kB / 1.51 GB, free: 138.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/1.425, allocations: 1.859 MB / 1.512 GB, free: 136.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/1.434, allocations: 12.51 MB / 1.524 GB, free: 123.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/1.438, allocations: 1.862 MB / 1.526 GB, free: 121.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/1.438, allocations: 102.1 kB / 1.526 GB, free: 121.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.438, allocations: 43.56 kB / 1.526 GB, free: 121.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 4.238e-06/1.438, allocations: 0 / 1.526 GB, free: 121.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005136/1.443, allocations: 3.702 MB / 1.53 GB, free: 117.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.443, allocations: 64.41 kB / 1.53 GB, free: 117.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/1.444, allocations: 0.8015 MB / 1.531 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/1.444, allocations: 41.7 kB / 1.531 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.444, allocations: 0.7123 MB / 1.531 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.444, allocations: 382.5 kB / 1.532 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/1.445, allocations: 32 kB / 1.532 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/1.445, allocations: 365.9 kB / 1.532 GB, free: 115 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/1.445, allocations: 0.6012 MB / 1.533 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/1.446, allocations: 1.04 MB / 1.534 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008607/1.447, allocations: 0.7525 MB / 1.534 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.447, allocations: 4 kB / 1.534 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002583/1.45, allocations: 2.034 MB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.45, allocations: 13.09 kB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.45, allocations: 12 kB / 1.536 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/1.451, allocations: 258.8 kB / 1.537 GB, free: 110 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.452, allocations: 359.4 kB / 1.537 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/1.457, allocations: 10.82 MB / 1.548 GB, free: 97.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.459, allocations: 119.8 kB / 1.548 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/1.459, allocations: 68.23 kB / 1.548 GB, free: 97.61 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007201/1.46, allocations: 409.1 kB / 1.548 GB, free: 97.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.46, allocations: 130.4 kB / 1.548 GB, free: 97.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/1.462, allocations: 1.669 MB / 1.55 GB, free: 95.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.462, allocations: 16 kB / 1.55 GB, free: 95.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.462, allocations: 11.89 kB / 1.55 GB, free: 95.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.462, allocations: 3.984 kB / 1.55 GB, free: 95.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/1.466, allocations: 3.283 MB / 1.553 GB, free: 91.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.466, allocations: 4 kB / 1.553 GB, free: 91.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007546/1.467, allocations: 224.3 kB / 1.553 GB, free: 91.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/1.468, allocations: 242.6 kB / 1.554 GB, free: 91.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/1.468, allocations: 35.98 kB / 1.554 GB, free: 91.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/1.474, allocations: 10.8 MB / 1.564 GB, free: 79.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.474, allocations: 7.938 kB / 1.564 GB, free: 79.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/1.476, allocations: 2.075 MB / 1.566 GB, free: 77.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006518/1.477, allocations: 323.3 kB / 1.567 GB, free: 76.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.477, allocations: 24 kB / 1.567 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/1.478, allocations: 99.86 kB / 1.567 GB, free: 76.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.478, allocations: 88.78 kB / 1.567 GB, free: 76.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/1.478, allocations: 36 kB / 1.567 GB, free: 76.63 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006465/1.478, allocations: 0.6176 MB / 1.567 GB, free: 76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/1.478, allocations: 0 / 1.567 GB, free: 76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001318/1.48, allocations: 400 kB / 1.568 GB, free: 75.61 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002616/1.482, allocations: 4.166 MB / 1.572 GB, free: 71.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003051/1.485, allocations: 2.457 MB / 1.574 GB, free: 68.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.485, allocations: 0.875 kB / 1.574 GB, free: 68.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/1.487, allocations: 1.633 MB / 1.576 GB, free: 66.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.488, allocations: 307.9 kB / 1.576 GB, free: 66.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.5, allocations: 17.82 MB / 1.593 GB, free: 48.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/1.501, allocations: 1.36 MB / 1.595 GB, free: 46.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001064/1.502, allocations: 347 kB / 1.595 GB, free: 46.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/1.503, allocations: 0.5149 MB / 1.596 GB, free: 45.92 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/1.503, allocations: 4 kB / 1.596 GB, free: 45.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/1.545, allocations: 26.8 MB / 1.622 GB, free: 19.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.545, allocations: 225.3 kB / 1.622 GB, free: 19.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/4.329, allocations: 0 / 1.622 GB, free: 19.25 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat