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.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.93 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.001528/0.001528, allocations: 184.8 kB / 491.2 MB, free: 1.57 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.518/1.518, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001063/0.001063, allocations: 95.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.782e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3126, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.375, allocations: 174 MB / 1.382 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.376, allocations: 93 kB / 1.382 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3131/1.689, allocations: 112.8 MB / 1.493 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.855e-06/1.689, allocations: 0 / 1.493 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001356/1.689, allocations: 47.92 kB / 1.493 GB, free: 8.215 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003855/1.693, allocations: 1.565 MB / 1.494 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.693, allocations: 12.03 kB / 1.494 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/1.698, allocations: 0.6144 MB / 1.495 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.7, allocations: 0.8881 MB / 1.496 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/1.7, allocations: 43.98 kB / 1.496 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.7, allocations: 79.98 kB / 1.496 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002411/1.703, allocations: 1.345 MB / 1.497 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/1.706, allocations: 2.117 MB / 1.499 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.706, allocations: 7.938 kB / 1.499 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.706, allocations: 8 kB / 1.499 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/1.706, allocations: 142.3 kB / 1.499 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.719, allocations: 12.22 MB / 1.511 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/1.722, allocations: 1.798 MB / 1.513 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/1.723, allocations: 0.5747 MB / 1.514 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.723, allocations: 98.39 kB / 1.514 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.723, allocations: 47.88 kB / 1.514 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=103): time 3.376e-06/1.723, allocations: 4 kB / 1.514 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.004778/1.728, allocations: 2.411 MB / 1.516 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.728, allocations: 64.66 kB / 1.516 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/1.729, allocations: 0.6522 MB / 1.517 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/1.729, allocations: 29.64 kB / 1.517 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/1.73, allocations: 0.7236 MB / 1.517 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/1.73, allocations: 366.6 kB / 1.518 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/1.73, allocations: 0 / 1.518 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.73, allocations: 361.9 kB / 1.518 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/1.731, allocations: 0.5584 MB / 1.519 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.732, allocations: 0.9857 MB / 1.52 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.734, allocations: 0.8531 MB / 1.521 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.734, allocations: 11.95 kB / 1.521 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003633/1.737, allocations: 2.002 MB / 1.522 GB, free: 7.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.738, allocations: 13.41 kB / 1.522 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.738, allocations: 16 kB / 1.523 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007555/1.738, allocations: 250.7 kB / 1.523 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.74, allocations: 359.4 kB / 1.523 GB, free: 7.332 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008035/1.748, allocations: 10.31 MB / 1.533 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.749, allocations: 95.8 kB / 1.533 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.749, allocations: 67.98 kB / 1.533 GB, free: 11.94 MB / 0.948 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 (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.0002693/1.749, allocations: 151.9 kB / 1.533 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002587/1.752, allocations: 1.474 MB / 1.535 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/1.752, allocations: 126.5 kB / 1.535 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.755, allocations: 1.639 MB / 1.537 GB, free: 8.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.755, allocations: 12 kB / 1.537 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.755, allocations: 4 kB / 1.537 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.755, allocations: 3.984 kB / 1.537 GB, free: 8.461 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/1.76, allocations: 3.039 MB / 1.54 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.76, allocations: 4 kB / 1.54 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/1.761, allocations: 227.7 kB / 1.54 GB, free: 5.059 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006877/1.762, allocations: 246.6 kB / 1.54 GB, free: 4.793 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/1.762, allocations: 8 kB / 1.54 GB, free: 4.785 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008295/1.77, allocations: 10.3 MB / 1.55 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/1.77, allocations: 4 kB / 1.55 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/1.774, allocations: 2.041 MB / 1.552 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/1.775, allocations: 315.4 kB / 1.552 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.775, allocations: 11.98 kB / 1.552 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/1.775, allocations: 75.81 kB / 1.553 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/1.776, allocations: 96.56 kB / 1.553 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/1.776, allocations: 32 kB / 1.553 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006844/1.776, allocations: 0.4939 MB / 1.553 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/1.776, allocations: 0 / 1.553 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001462/1.778, allocations: 348 kB / 1.553 GB, free: 5.895 MB / 0.9636 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 () * 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.003949/1.782, allocations: 4.127 MB / 1.557 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003426/1.785, allocations: 2.297 MB / 1.56 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.785, allocations: 0 / 1.56 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.787, allocations: 1.53 MB / 1.561 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.789, allocations: 279.9 kB / 1.561 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/1.794, allocations: 2.377 MB / 1.564 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.795, allocations: 1.359 MB / 1.565 GB, free: 9.43 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001114/1.796, allocations: 342.4 kB / 1.565 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/1.797, allocations: 0.5188 MB / 1.566 GB, free: 8.57 MB / 0.9792 GB Notification: Performance of SimCode: time 2.435e-06/1.797, allocations: 0 / 1.566 GB, free: 8.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/1.857, allocations: 24.82 MB / 1.59 GB, free: 15.93 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/1.857, allocations: 176.3 kB / 1.59 GB, free: 15.73 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/4.802, allocations: 0 / 1.59 GB, free: 15.73 MB / 1.01 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