Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.441/2.441, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001241/0.001241, allocations: 193.8 kB / 0.4901 GB, free: 2.305 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.753/1.753, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009374/0.0009375, allocations: 100.2 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004633, allocations: 10.38 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.5132, allocations: 174.7 MB / 1.4 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.5136, allocations: 103.9 kB / 1.4 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8391/1.353, allocations: 113.8 MB / 1.511 GB, free: 133.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.024e-06/1.353, allocations: 0 / 1.511 GB, free: 133.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001529/1.353, allocations: 47.92 kB / 1.511 GB, free: 133.3 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.004513/1.357, allocations: 1.7 MB / 1.513 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.358, allocations: 12.03 kB / 1.513 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007715/1.358, allocations: 215.2 kB / 1.513 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/1.363, allocations: 0.6338 MB / 1.514 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/1.366, allocations: 0.8803 MB / 1.515 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/1.366, allocations: 98.52 kB / 1.515 GB, free: 129.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004356/1.366, allocations: 116 kB / 1.515 GB, free: 129.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/1.37, allocations: 2.331 MB / 1.517 GB, free: 126.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.74e-05/1.37, allocations: 15.84 kB / 1.517 GB, free: 126.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/1.37, allocations: 63.97 kB / 1.517 GB, free: 126.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/1.371, allocations: 146.3 kB / 1.517 GB, free: 126.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.374, allocations: 1.855 MB / 1.519 GB, free: 124.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/1.385, allocations: 12.51 MB / 1.531 GB, free: 111.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/1.388, allocations: 1.861 MB / 1.533 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/1.388, allocations: 106.1 kB / 1.533 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.388, allocations: 39.56 kB / 1.533 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 3.336e-06/1.388, allocations: 0 / 1.533 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005786/1.394, allocations: 3.702 MB / 1.537 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.394, allocations: 64.41 kB / 1.537 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.395, allocations: 0.7938 MB / 1.538 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/1.395, allocations: 41.7 kB / 1.538 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.396, allocations: 0.7122 MB / 1.538 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.396, allocations: 386.5 kB / 1.539 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/1.396, allocations: 28 kB / 1.539 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.396, allocations: 373.9 kB / 1.539 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/1.397, allocations: 0.5973 MB / 1.54 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/1.398, allocations: 1.044 MB / 1.541 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/1.399, allocations: 0.7486 MB / 1.542 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.399, allocations: 4 kB / 1.542 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002842/1.402, allocations: 2.033 MB / 1.544 GB, free: 98.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/1.402, allocations: 13.91 kB / 1.544 GB, free: 98.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/1.402, allocations: 16 kB / 1.544 GB, free: 98.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/1.403, allocations: 254.7 kB / 1.544 GB, free: 98.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.404, allocations: 363.4 kB / 1.544 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/1.41, allocations: 10.81 MB / 1.555 GB, free: 85.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.411, allocations: 127.8 kB / 1.555 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.411, allocations: 67.98 kB / 1.555 GB, free: 85.7 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.0007994/1.412, allocations: 407.1 kB / 1.555 GB, free: 85.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/1.413, allocations: 130.4 kB / 1.555 GB, free: 85.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.415, allocations: 1.673 MB / 1.557 GB, free: 83.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.415, allocations: 12 kB / 1.557 GB, free: 83.44 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.415, allocations: 7.891 kB / 1.557 GB, free: 83.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.415, allocations: 11.97 kB / 1.557 GB, free: 83.42 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005186/1.42, allocations: 3.284 MB / 1.56 GB, free: 79.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.42, allocations: 8 kB / 1.56 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/1.421, allocations: 223.6 kB / 1.56 GB, free: 79.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/1.422, allocations: 243 kB / 1.561 GB, free: 79.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/1.422, allocations: 27.98 kB / 1.561 GB, free: 79.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/1.428, allocations: 10.8 MB / 1.571 GB, free: 67.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.428, allocations: 20.02 kB / 1.571 GB, free: 67.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/1.431, allocations: 2.063 MB / 1.573 GB, free: 65.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/1.431, allocations: 331.3 kB / 1.574 GB, free: 64.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/1.432, allocations: 24 kB / 1.574 GB, free: 64.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/1.433, allocations: 87.88 kB / 1.574 GB, free: 64.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/1.433, allocations: 92.78 kB / 1.574 GB, free: 64.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/1.433, allocations: 36 kB / 1.574 GB, free: 64.72 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008371/1.434, allocations: 0.6177 MB / 1.574 GB, free: 64.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.434, allocations: 0 / 1.574 GB, free: 64.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001654/1.435, allocations: 400 kB / 1.575 GB, free: 63.71 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.002853/1.438, allocations: 4.161 MB / 1.579 GB, free: 59.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002995/1.441, allocations: 2.461 MB / 1.581 GB, free: 56.79 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.441, allocations: 0 / 1.581 GB, free: 56.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.443, allocations: 1.626 MB / 1.583 GB, free: 55.06 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.444, allocations: 313.8 kB / 1.583 GB, free: 54.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/1.458, allocations: 17.81 MB / 1.601 GB, free: 36.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.46, allocations: 1.364 MB / 1.602 GB, free: 34.89 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001099/1.461, allocations: 354.9 kB / 1.602 GB, free: 34.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/1.461, allocations: 0.5227 MB / 1.603 GB, free: 34.01 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/1.461, allocations: 0 / 1.603 GB, free: 34.01 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/1.511, allocations: 26.81 MB / 1.629 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.511, allocations: 230.8 kB / 1.629 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.477, allocations: 0 / 1.629 GB, free: 7.34 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat