Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.52/2.52, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001204/0.001204, allocations: 171.9 kB / 0.4901 GB, free: 2.234 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.556/1.556, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001128/0.001128, allocations: 102.2 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 13.86 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.341, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.6198, allocations: 166.1 MB / 1.391 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000433/0.6203, allocations: 91.94 kB / 1.392 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08249/0.7028, allocations: 30.46 MB / 1.421 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7029, allocations: 0 / 1.421 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.35e-05/0.7029, allocations: 16 kB / 1.421 GB, free: 4.426 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001535/0.7045, allocations: 0.7363 MB / 1.422 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.7045, allocations: 12.56 kB / 1.422 GB, free: 3.629 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.7047, allocations: 82.45 kB / 1.422 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.7062, allocations: 179.2 kB / 1.422 GB, free: 3.363 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.707, allocations: 402.4 kB / 1.423 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.707, allocations: 32.92 kB / 1.423 GB, free: 2.898 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.7071, allocations: 35.98 kB / 1.423 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7081, allocations: 0.6886 MB / 1.423 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.7082, allocations: 3.938 kB / 1.423 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.7082, allocations: 19.98 kB / 1.423 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.7083, allocations: 47.92 kB / 1.423 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.7091, allocations: 499.3 kB / 1.424 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6675/1.377, allocations: 3.794 MB / 1.428 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.379, allocations: 0.6714 MB / 1.428 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.379, allocations: 8.516 kB / 1.428 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.379, allocations: 45.73 kB / 1.428 GB, free: 175 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.995e-06/1.379, allocations: 0 / 1.428 GB, free: 175 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002311/1.381, allocations: 1.267 MB / 1.43 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.381, allocations: 112.2 kB / 1.43 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/1.382, allocations: 349.5 kB / 1.43 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.382, allocations: 28.95 kB / 1.43 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.382, allocations: 271.9 kB / 1.43 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/1.382, allocations: 115.1 kB / 1.43 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/1.382, allocations: 12.22 kB / 1.43 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/1.382, allocations: 359.7 kB / 1.431 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/1.382, allocations: 170.2 kB / 1.431 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/1.383, allocations: 356.7 kB / 1.431 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/1.383, allocations: 229.2 kB / 1.432 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.383, allocations: 0 / 1.432 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001107/1.384, allocations: 0.6493 MB / 1.432 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.384, allocations: 10 kB / 1.432 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.384, allocations: 10.78 kB / 1.432 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/1.385, allocations: 95.41 kB / 1.432 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/1.385, allocations: 112.9 kB / 1.432 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/1.388, allocations: 4.054 MB / 1.436 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/1.389, allocations: 27.69 kB / 1.436 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/1.389, allocations: 24.36 kB / 1.436 GB, free: 169.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003277/1.389, allocations: 197.5 kB / 1.437 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.389, allocations: 48.52 kB / 1.437 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.39, allocations: 0.5137 MB / 1.437 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.39, allocations: 3.344 kB / 1.437 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.39, allocations: 9.078 kB / 1.437 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.39, allocations: 2.641 kB / 1.437 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/1.393, allocations: 1.285 MB / 1.438 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.393, allocations: 1.531 kB / 1.438 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/1.393, allocations: 67.22 kB / 1.438 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/1.393, allocations: 88.45 kB / 1.439 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/1.393, allocations: 8.844 kB / 1.439 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/1.396, allocations: 4.061 MB / 1.442 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.396, allocations: 5.938 kB / 1.442 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.397, allocations: 0.9134 MB / 1.443 GB, free: 164.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/1.397, allocations: 155.2 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/1.397, allocations: 9.781 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/1.397, allocations: 23.36 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/1.397, allocations: 38.06 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/1.397, allocations: 10.22 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004534/1.398, allocations: 280.7 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.61e-07/1.398, allocations: 0 / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000777/1.399, allocations: 126.1 kB / 1.444 GB, free: 164.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001261/1.4, allocations: 2.213 MB / 1.446 GB, free: 162.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00139/1.401, allocations: 0.798 MB / 1.447 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.401, allocations: 2.25 kB / 1.447 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/1.402, allocations: 0.5398 MB / 1.447 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/1.403, allocations: 127.2 kB / 1.448 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.408, allocations: 6.693 MB / 1.454 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/1.408, allocations: 0.871 MB / 1.455 GB, free: 156 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004172/1.409, allocations: 106.8 kB / 1.455 GB, free: 156 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.409, allocations: 148 kB / 1.455 GB, free: 156 MB / 0.9167 GB Notification: Performance of SimCode: time 1.473e-06/1.409, allocations: 0 / 1.455 GB, free: 156 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/1.438, allocations: 9.425 MB / 1.464 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.438, allocations: 219.9 kB / 1.465 GB, free: 155.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.716, allocations: 1.828 kB / 1.465 GB, free: 155.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat